Commit Graph

23 Commits (0975b9a268cda8012140f176680e564b95da90ed)

Author SHA1 Message Date
Joe Groff 0f651c8506 math.parser: support leading + on significand and exponent so string>number can be a proper superset of C strto* functions 2010-02-07 14:21:59 -08:00
Joe Groff ce1ff01851 math.parser: add unit tests to ensure that "1e2" parses as 100.0 in decimal and as integer 1E2 in bases >= 15 (it does now) 2010-02-07 13:09:59 -08:00
Joe Groff 90ea5796f4 math.parser: fix digit> bug found by Blei 2010-02-07 13:04:20 -08:00
Joe Groff 61a3e4e814 new, faster one-pass number parser 2009-11-01 01:59:12 -05:00
Joe Groff f459c24e45 oops, float>hex didn't preserve leading zeroes in mantissa 2009-09-20 16:48:42 -05:00
Joe Groff 0ed5822ed9 HEX: X.XXXpEEE hexadecimal float literal syntax 2009-09-11 20:11:29 -05:00
Joe Groff 1106fb10f1 let's not forget about hex literals 2009-09-01 21:28:23 -05:00
Joe Groff 1a04bc1124 require numeric literals to begin and end with a digit/decimal point so that stuff like "," and "1," don't parse as numbers 2009-09-01 21:14:26 -05:00
Joe Groff 0376cf0f9d allow commas in numeric literals 2009-08-10 19:33:27 -04:00
Slava Pestov 0fda643ab1 Optimizing string>number 2009-04-11 20:30:51 -05:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov 21c621d464 Fix erg's ratio bug 2008-09-30 18:28:11 -05:00
Slava Pestov e211260e47 Tweak unit test 2008-09-20 18:52:39 -05:00
Slava Pestov f1268db79a Fix test 2008-07-21 20:48:30 -05:00
Slava Pestov 35bd2abc71 Fix more math.parser stuff 2008-07-20 04:05:09 -05:00
Slava Pestov 89d3c0c616 Fix negative zero 2008-07-20 00:56:25 -05:00
Slava Pestov 91ef98cc70 math.parser fix 2008-05-05 18:09:44 -05:00
Slava Pestov 75fb15ee4c Split stdio up into input-stream/output-stream, pipes work in progress 2008-05-05 02:19:25 -05:00
Slava Pestov e98cd1fd59 New convention for unit tests 2008-03-01 17:00:45 -05:00
Slava Pestov f3c8bd266b Improved syntax for ratios 2008-02-06 20:05:03 -06:00
Slava Pestov be2c8b13d7 Rename unit-test-fails to must-fail and add must-fail-with to replace [ t ] [ [ ... ] catch ... ] unit-test idiom 2008-02-06 13:47:19 -06:00
U-SLAVA-FB3999113\Slava e9b42fa635 Move more math stuff to extra/, get compiler to work without ratios/complex numbers 2007-10-14 20:38:23 -04:00
Slava Pestov a96457cecc Initial import 2007-09-20 18:09:08 -04:00