summary refs log tree commit diff
path: root/Src/math.c
Commit message (Collapse)AuthorAgeFilesLines
* unposted: rewrite Nularg math handling to be like other casesPeter Stephenson2015-04-151-2/+6
|
* 34892 (slightly tweaked): math evaluation fixPeter Stephenson2015-04-151-2/+2
| | | | | An empty expression resulting from substitution includes a Nularg, which needs handling the same as an empty string.
* 34280: more widespread use of FORCE_FLOAT.Peter Stephenson2015-01-151-1/+12
| | | | Add the case of variables read for use in arithmetic expressions.
* Propagate float/integer type in arithmetic assignment.Peter Stephenson2015-01-121-1/+28
| | | | | | Add test. Mention this and also floating point mod change in README.
* 34230: call fmod() for modulo with floatsBarton E. Schaefer2015-01-111-3/+5
|
* 33793: add 0b binary interpretation to integer constantsPeter Stephenson2014-11-261-2/+4
|
* 32299: add use of underscores on arithmetic output for spacingPeter Stephenson2014-01-231-10/+25
|
* 31982: detection of floating point constants was problematic.Peter Stephenson2013-11-141-8/+3
| | | | | 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-3/+20
|
* 31353: fix handling of floating point in ternaryBart Schaefer2013-04-301-1/+2
|
* 31140: avoid crash when hitting recursion limitMikael Magnusson2013-03-131-1/+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-1/+2
|
* 30647, 30649: allow underscores in numeric constantsPeter Stephenson2012-09-111-6/+33
|
* 30656: prevent SIGFPE in division by -1 by multiplying insteadPeter Stephenson2012-09-061-3/+23
|
* 29491: remove some variables set but not usedPeter Stephenson2011-06-191-2/+0
|
* 29329: fix undefined behaviour in math.cMikael Magnusson2011-05-271-1/+2
|
* 29307, 29308 + replies: Fix some doubled words in docs and comments.Mikael Magnusson2011-05-191-1/+1
|
* 28037: improved error messages for module autoloadsPeter Stephenson2010-06-141-1/+2
| | | | of math functions and builtins
* 27611: cache parameter values in math eval so subscripts are eval'd oncePeter Stephenson2010-01-201-14/+71
|
* 25905: fix and test doubled-hash radix outputPeter Stephenson2008-10-161-1/+2
|
* 25744: dynamic named directories and further doshfunc() simplificationPeter Stephenson2008-09-261-1/+1
|
* 25677: add %x and %I prompt escapes for shell source code debuggingPeter Stephenson2008-09-161-3/+3
| | | | tidy up interface to doshfunc()
* 25149: add C_PRECEDENCES option to make arithmetic have C/Perl precedencePeter Stephenson2008-06-121-117/+229
|
* Mikael: 25143: spelling correctionsPeter Stephenson2008-06-101-1/+2
| | | | | 25144: report supported bases 25139: fix number
* 25025: check radix for integer constants is between 2 and 36 inclusivePeter Stephenson2008-05-141-0/+4
|
* 23553: bit missed outPeter Stephenson2007-06-151-1/+12
|
* 23165: fix problems with bases: error if over 36 and don't interpret octalPeter Stephenson2007-02-121-9/+25
|
* 22684: improve getkeystring() interface and make printf do octal escapesPeter Stephenson2006-09-101-1/+1
|
* 22558: declaration after statementPeter Stephenson2006-07-261-1/+1
|
* 22544: Improve use of ztype tests for multibyte characters. AddPeter Stephenson2006-07-101-4/+5
| | | | | POSIX_IDENTIFIERS option to control allowability of multibyte alphanumeric characters in parameter and module names.
* 22529: multibyte conversion in math expressionsPeter Stephenson2006-06-301-2/+14
|
* 22474: use variable argument lists to improve error message handlingPeter Stephenson2006-05-301-25/+22
|
* 22416, tweaked: math functions via shell functionsPeter Stephenson2006-04-191-12/+52
| | | | unposted: add styles to pick-web-browser
* 20592: Debian bug#283358: $((##)) failed erraticallyPeter Stephenson2004-11-291-0/+4
|
* 20251: integer conversion truncationPeter Stephenson2004-08-161-48/+72
| | | | | | 20258: save command status in prompt substitution update FAQ rename version to 4.2.1-dev-1
* 19941: fix (( 3, ))Peter Stephenson2004-05-131-2/+2
|
* 18938: Export some data symbols.Peter Stephenson2003-08-111-1/+1
|
* 18330: save output of setlocale as the pointer it returns gets clobberedOliver Kiddle2003-03-101-2/+2
|
* 18015: empty math parse acts like zeroPeter Stephenson2002-12-181-1/+4
|
* Got rid of a gcc-3.2 compiler warning.Wayne Davison2002-10-301-1/+2
|
* 17503: fix various typos and spelling mistakes in source code commentsOliver Kiddle2002-08-051-1/+1
|
* 17175: Src/math.c: didn't handle parameters before a ternary expressionPeter Stephenson2002-05-171-0/+2
| | | | properly.
* 17046: Src/math.c: OCTAL_ZEROES with a `0' on its own wasPeter Stephenson2002-04-251-2/+3
| | | | swallowing up too many characters.
* 16448: math assignment bug introduced by 15291, 15292Peter Stephenson2002-01-141-1/+5
|
* Don't always coerce to float when assigning to an unset parameter.Bart Schaefer2001-07-081-1/+2
|
* 15291, 15292: fix bug setting scalar in math modePeter Stephenson2001-07-061-15/+42
|
* Parameter repairs, mostly for subscripting.Bart Schaefer2001-04-201-0/+1
|
* remove 13108 (trap queues); replace with signal queueing to ensure that user ↵Sven Wischnowsky2001-01-161-0/+2
| | | | signal handlers are only executed when it is safe to run them (13365)
* 12741: outputradix was stomped on by nested mathevalPeter Stephenson2000-09-041-1/+3
|