about summary refs log tree commit diff
path: root/Test/C01arith.ztst
Commit message (Collapse)AuthorAgeFilesLines
* 46079: Ignore double quotes in math expressions.Peter Stephenson2020-06-231-2/+8
| | | | | | | Treat as white space. This is required for compatibility and previously had no use in zsh as it generated an error.
* 45004: Fix typos in commentsMartijn Dekker2019-12-111-1/+1
|
* 43944: apply NO_UNSET consistently to arithmeitcMartijn Dekker2018-12-301-0/+16
|
* 43261: Fix unary minus with base.Peter Stephenson2018-08-081-0/+4
| | | | | Apply unary minus to a complete lexical constant rather than the first component that comes along.
* 42488: test cases for 42369 and address some issues in the codeOliver Kiddle2018-05-131-0/+34
|
* 41641: Some math operations shouldn't be lvalues.Peter Stephenson2017-09-051-0/+13
| | | | | This includes pre- and post- increment and decrement. Simply mark all values after operations as rvalues.
* 37489, tweaked: with POSIX_IDENTIFIERS create math var as scalarPeter Stephenson2016-01-031-0/+11
|
* 35359: Improved math parsing and errors.Peter Stephenson2015-06-021-4/+18
| | | | | | Check for bogus trailing ")" at end of top-level parse. Extend some math error messages to indicate they are math errors.
* 35153: nested math substitutionPeter Stephenson2015-05-151-0/+8
|
* 34892 (slightly tweaked): math evaluation fixPeter Stephenson2015-04-151-1/+4
| | | | | An empty expression resulting from substitution includes a Nularg, which needs handling the same as an empty string.
* 34606: fix up nested arithmetic substitutionPeter Stephenson2015-02-221-0/+8
| | | | | | | | Arithmetic within a parameter substitution is a special case that needs fixing with the introduction of the new Inparmath token. Add test.
* 34570: Another nasty command / math substituion thing.Peter Stephenson2015-02-191-0/+23
| | | | | | Mark arithmetic substitutions with tokens to make sure the substitution go knows what to do. Before it was guessing by counting the parentheses at the end.
* 34560: Fix $(( that's actually a multiline cmd subst.Peter Stephenson2015-02-161-0/+35
|
* 34280: more widespread use of FORCE_FLOAT.Peter Stephenson2015-01-151-0/+10
| | | | Add the case of variables read for use in arithmetic expressions.
* Propagate float/integer type in arithmetic assignment.Peter Stephenson2015-01-121-1/+9
| | | | | | Add test. Mention this and also floating point mod change in README.
* 34247: regression test for 34230.Barton E. Schaefer2015-01-111-0/+6
|
* unposted: test binary input using 0bPeter Stephenson2014-11-261-0/+8
|
* 33332: test safer numeric import from environmentPeter Stephenson2014-10-021-0/+4
|
* 32299: add use of underscores on arithmetic output for spacingPeter Stephenson2014-01-231-0/+16
|
* 31982: detection of floating point constants was problematic.Peter Stephenson2013-11-141-0/+8
| | | | | Remove the cause and fix the original problem with floating point numbers with leading zeros (users/17445) a different way.
* 31937: zle -Fw uses widget semantics for file descriptor handlerPeter Stephenson2013-11-071-2/+2
|
* users/17665: add FORCE_FLOAT optionPeter Stephenson2013-03-051-0/+15
|
* users/17445: fix handling of leading zeroes in floating pointBart Schaefer2012-12-081-0/+10
|
* 30647, 30649: allow underscores in numeric constantsPeter Stephenson2012-09-111-0/+23
|
* 27611: cache parameter values in math eval so subscripts are eval'd oncePeter Stephenson2010-01-201-0/+22
|
* 25905: fix and test doubled-hash radix outputPeter Stephenson2008-10-161-0/+16
|
* 25149: add C_PRECEDENCES option to make arithmetic have C/Perl precedencePeter Stephenson2008-06-121-0/+10
|
* unposted addition to 25144 for testsPeter Stephenson2008-06-101-1/+1
|
* 24271: handle parse failures in command substitution betterPeter Stephenson2007-12-161-0/+9
|
* not 23562 but should have been: test correctionPeter Stephenson2007-06-181-1/+1
|
* 23562: add KSH_ZERO_SUBSCRIPT option and leave off by defaultPeter Stephenson2007-06-181-2/+7
|
* 23165: fix problems with bases: error if over 36 and don't interpret octalPeter Stephenson2007-02-121-0/+12
|
* 22686: unset array if assigning numeric parameterPeter Stephenson2006-09-111-0/+6
|
* 20599: test for $((##)) should now check for errorPeter Stephenson2004-11-301-2/+2
|
* 19941: fix (( 3, ))Peter Stephenson2004-05-131-0/+20
|
* 19308: zsh crashes with $((##))Oliver Kiddle2003-12-171-0/+8
|
* 18391: add tests for read builtin a few glob qualifiers, 17678 and 18015Oliver Kiddle2003-03-261-0/+4
|
* 16489: Test/C01arith.ztst: default output for whole numbersPeter Stephenson2002-01-231-1/+1
| | | | as floats now has `.' at the end, c.f. 16423.
* 15334: use string "(eval)" as script name in debugging messages in eval'sPeter Stephenson2001-07-091-3/+3
|
* 15329: test script changes to go with 15327 LINENO changePeter Stephenson2001-07-091-3/+3
|
* 15291, 15292: fix bug setting scalar in math modePeter Stephenson2001-07-061-0/+10
|
* moved from ./Test/06arith.ztstSven Wischnowsky2001-04-021-0/+90