Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								c133c16377
								
							
								
							
						 | 
						
							
							
								
								core: Trim using lists from -tests and clean up a few irregularities.
							
							
							
							
							
						 | 
						
							2016-03-30 18:43:41 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								4ce62e0827
								
							
								
							
						 | 
						
							
							
								
								math.parser: add tests for change to not throw zero division.
							
							
							
							
							
						 | 
						
							2016-03-30 14:31:37 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								59b41e4f90
								
							
								
							
						 | 
						
							
							
								
								math.parser: adding bytes>hex-string and hex-string>bytes.
							
							
							
							
							
						 | 
						
							2016-03-16 10:13:56 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								b3323c15bd
								
							
								
							
						 | 
						
							
							
								
								math.parser: some inline, some fixnum+fast, some disable tests.
							
							
							
							
							
						 | 
						
							2015-07-30 17:59:21 -07:00 | 
						
					
				
					
						
							
							
								 
								Jon Harper
							
						 | 
						
							
							
							
							
								
							
								8d827b2772
								
							
								
							
						 | 
						
							
							
								
								math.parser: support >bin and >oct for floats
							
							
							
							
							
							
							
							This is for symmetry with "0o1p0", "0b1p0", bin> and hex> which
all already work 
							
						 | 
						
							2015-07-30 11:04:51 -07:00 | 
						
					
				
					
						
							
							
								 
								Jon Harper
							
						 | 
						
							
							
							
							
								
							
								4d8cb81cab
								
							
								
							
						 | 
						
							
							
								
								math.parser: add tests/docs for floats 0b 0x bin> float> since they work
							
							
							
							
							
						 | 
						
							2015-07-30 11:04:51 -07:00 | 
						
					
				
					
						
							
							
								 
								Jon Harper
							
						 | 
						
							
							
							
							
								
							
								09af182db7
								
							
								
							
						 | 
						
							
							
								
								math.parser, don't take infinite time to parse huge exponents
							
							
							
							
							
						 | 
						
							2015-07-30 11:04:51 -07:00 | 
						
					
				
					
						
							
							
								 
								Jon Harper
							
						 | 
						
							
							
							
							
								
							
								dce2ca1366
								
							
								
							
						 | 
						
							
							
								
								math.parser: don't lose precision in make-float-bin-exponent
							
							
							
							
							
						 | 
						
							2015-07-30 11:04:51 -07:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								d2ab2e6dd1
								
							
								
							
						 | 
						
							
							
								
								math.parser.tests: Fix whitespace.
							
							
							
							
							
						 | 
						
							2015-07-17 15:19:39 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								f6f596f40f
								
							
								
							
						 | 
						
							
							
								
								math.parser: okay time for sleep, maybe this works, sorry git history.
							
							
							
							
							
						 | 
						
							2015-07-14 22:48:08 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								5b58e1d3e8
								
							
								
							
						 | 
						
							
							
								
								math.parser: fix a regression.
							
							
							
							
							
						 | 
						
							2015-07-14 22:05:25 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								94bb834eae
								
							
								
							
						 | 
						
							
							
								
								math.parser: fix ``"-.5" dec>``.
							
							
							
							
							
						 | 
						
							2015-07-14 20:16:34 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								866b40271d
								
							
								
							
						 | 
						
							
							
								
								math.parser: fix "most-negative-fixnum number>string string>number fixnum?".
							
							
							
							
							
						 | 
						
							2015-07-14 20:03:33 -07:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								43d6f1d3e2
								
							
								
							
						 | 
						
							
							
								
								factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:.
							
							
							
							
							
						 | 
						
							2015-07-02 17:28:17 -07:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								59f3b1ea57
								
							
								
							
						 | 
						
							
							
								
								Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
							
							
							
							
							
							
							
							Needs a bit more work.
This reverts commit 7e54cc2824. 
							
						 | 
						
							2015-07-02 13:47:06 -07:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								7e54cc2824
								
							
								
							
						 | 
						
							
							
								
								factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
							
							
							
							
							
						 | 
						
							2015-07-02 11:36:08 -07:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								999aa7c897
								
							
								
							
						 | 
						
							
							
								
								factor: clean up spaces in -tests files
							
							
							
							
							
						 | 
						
							2015-07-02 10:34:01 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								bec49ff840
								
							
								
							
						 | 
						
							
							
								
								math.parser: simplify error types.
							
							
							
							
							
						 | 
						
							2012-06-08 07:32:01 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								437b1f8785
								
							
								
							
						 | 
						
							
							
								
								math.parser: add some tests for errors.
							
							
							
							
							
						 | 
						
							2012-06-06 15:14:52 -07:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								c4bd4dc1cc
								
							
								
							
						 | 
						
							
							
								
								math.parser: hex> etc. shouldn't take radix prefix
							
							
							
							
							
							
							
							Fixes #453 
							
						 | 
						
							2011-12-16 17:20:05 -08:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								269fe9ea1a
								
							
								
							
						 | 
						
							
							
								
								math.integers: test round-to-even-on-tie behavior
							
							
							
							
							
						 | 
						
							2011-11-26 16:03:43 -08:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								a97a9ede15
								
							
								
							
						 | 
						
							
							
								
								math.parser: don't accept hex float without expt
							
							
							
							
							
							
							
							Part of #372 
							
						 | 
						
							2011-11-26 15:15:46 -08:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								e58afa8ab5
								
							
								
							
						 | 
						
							
							
								
								oops, radix prefixes shouldn't chain
							
							
							
							
							
						 | 
						
							2011-11-24 12:39:52 -08:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								fa979425f3
								
							
								
							
						 | 
						
							
							
								
								math.parser: test harder
							
							
							
							
							
						 | 
						
							2011-11-24 12:34:50 -08:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								14efcc69ab
								
							
								
							
						 | 
						
							
							
								
								math.parser: reject "0x" etc. without any digits
							
							
							
							
							
						 | 
						
							2011-11-24 12:27:40 -08:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								943596575a
								
							
								
							
						 | 
						
							
							
								
								use radix literals
							
							
							
							
							
						 | 
						
							2011-11-23 19:03:40 -08:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								e738c7206c
								
							
								
							
						 | 
						
							
							
								
								math.parser: natively support 0b 0o 0x syntax
							
							
							
							
							
							
							
							Closes #371 
							
						 | 
						
							2011-11-23 18:30:22 -08:00 | 
						
					
				
					
						
							
							
								 
								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 |