John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								a4f264509d
								
							
								
							
						 | 
						
							
							
								
								math: cleaner "2/" speedup by using custom inlining.
							
							
							
							
							
						 | 
						
							2012-09-10 17:59:03 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								36fb890be2
								
							
								
							
						 | 
						
							
							
								
								math: faster definition of 2/ (allows inlining of fixnum-shift-fast).
							
							
							
							
							
						 | 
						
							2012-09-10 17:20:31 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								089bdb1268
								
							
								
							
						 | 
						
							
							
								
								math.integers: inline fixnum-log2.
							
							
							
							
							
						 | 
						
							2012-09-10 17:20:12 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								009fb4249e
								
							
								
							
						 | 
						
							
							
								
								math: faster recip for integers and ratios.
							
							
							
							
							
						 | 
						
							2012-09-02 09:47:31 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								18a087cb2a
								
							
								
							
						 | 
						
							
							
								
								math: adding some tests for bignum bitnot.
							
							
							
							
							
						 | 
						
							2012-08-31 15:22:20 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								20100d7853
								
							
								
							
						 | 
						
							
							
								
								math.integers: faster fixnum-bit?.
							
							
							
							
							
						 | 
						
							2012-08-30 22:40:22 -07:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								cd9dd9d752
								
							
								
							
						 | 
						
							
							
								
								core: Throw an error when assigning a bignum to a fixnum tuple slot if the bignum doesn't fit. Fixes #594.
							
							
							
							
							
						 | 
						
							2012-08-03 14:59:59 -07:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								6994b0eed8
								
							
								
							
						 | 
						
							
							
								
								math.integers: Bignum hashcode* -- call bignum>fixnum to avoid a dispatch.
							
							
							
							
							
						 | 
						
							2012-07-23 09:38:12 -07:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								fb4e3ad9bc
								
							
								
							
						 | 
						
							
							
								
								compiler: Fix bitand on ratios, floats. Fix shift on ratios, floats. Add integer>fixnum. Fixes #500.
							
							
							
							
							
						 | 
						
							2012-07-23 09:31:12 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								4e72d80256
								
							
								
							
						 | 
						
							
							
								
								Using "same?" in more places.
							
							
							
							
							
						 | 
						
							2012-07-21 10:22:44 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								d1f3b326e5
								
							
								
							
						 | 
						
							
							
								
								math: using if-zero in more places.
							
							
							
							
							
						 | 
						
							2012-06-18 14:32:39 -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 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								3967b19aa5
								
							
								
							
						 | 
						
							
							
								
								math.parser: better error messages suggested by @erg.
							
							
							
							
							
						 | 
						
							2012-06-06 15:12:33 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								9dbeef4933
								
							
								
							
						 | 
						
							
							
								
								math.parser: only allow 10 and 16 base for float>base.
							
							
							
							
							
						 | 
						
							2012-06-06 14:50:07 -07:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								c4bd4dc1cc
								
							
								
							
						 | 
						
							
							
								
								math.parser: hex> etc. shouldn't take radix prefix
							
							
							
							
							
							
							
							Fixes #453 
							
						 | 
						
							2011-12-16 17:20:05 -08:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								3ba787b277
								
							
								
							
						 | 
						
							
							
								
								core/basis: trim down using lists
							
							
							
							
							
						 | 
						
							2011-11-30 23:15:42 -08:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								98fc1e28bd
								
							
								
							
						 | 
						
							
							
								
								math.integers: make bignum/f round to even on tie
							
							
							
							
							
							
							
							Fixes #372 
							
						 | 
						
							2011-11-26 17:44:29 -08:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								0f5b551790
								
							
								
							
						 | 
						
							
							
								
								math.integers: pass tests even if number-base set
							
							
							
							
							
						 | 
						
							2011-11-26 17:37:17 -08:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								269fe9ea1a
								
							
								
							
						 | 
						
							
							
								
								math.integers: test round-to-even-on-tie behavior
							
							
							
							
							
						 | 
						
							2011-11-26 16:03:43 -08:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								90f34d092c
								
							
								
							
						 | 
						
							
							
								
								math: neg? needs to be defined for all reals
							
							
							
							
							
						 | 
						
							2011-11-26 15:37:58 -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
							
						 | 
						
							
							
							
							
								
							
								07abeee9d9
								
							
								
							
						 | 
						
							
							
								
								syntax: remove BIN: HEX: OCT:
							
							
							
							
							
						 | 
						
							2011-11-23 20:07:33 -08:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								4b6559849f
								
							
								
							
						 | 
						
							
							
								
								math.parser: oops
							
							
							
							
							
						 | 
						
							2011-11-23 19:51:15 -08:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								4e8a1d0bb4
								
							
								
							
						 | 
						
							
							
								
								math: add neg? word
							
							
							
							
							
							
							
							Do the right thing with integers or floats 
							
						 | 
						
							2011-11-23 19:51:05 -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
							
						 | 
						
							
							
							
							
								
							
								69f35b36aa
								
							
								
							
						 | 
						
							
							
								
								math.parser: undo some inlining to shrink size
							
							
							
							
							
							
							
							For #318. 
							
						 | 
						
							2011-11-11 15:49:53 -08:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								4ebe5218c7
								
							
								
							
						 | 
						
							
							
								
								Update Windows for word renames, fix lint errors
							
							
							
							
							
						 | 
						
							2011-10-24 21:50:02 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								5a943b32c4
								
							
								
							
						 | 
						
							
							
								
								Remove stack effects from HELP: declarations.
							
							
							
							
							
						 | 
						
							2011-10-20 19:36:11 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								6f1c44b46d
								
							
								
							
						 | 
						
							
							
								
								Cleanup some lint warnings.
							
							
							
							
							
						 | 
						
							2011-10-15 19:19:44 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								312704ae68
								
							
								
							
						 | 
						
							
							
								
								math.parser: cleanup uses of 16/8/2 >base/base>.
							
							
							
							
							
						 | 
						
							2011-10-14 10:09:12 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								afc07c0e05
								
							
								
							
						 | 
						
							
							
								
								io.binary: make le> and be> faster (20% and 75%, respectively).
							
							
							
							
							
							
							
							Removed primitive byte-array>bignum and digit_stream_to_bignum from vm/. 
							
						 | 
						
							2011-10-11 21:13:30 -07:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								82a28a082b
								
							
								
							
						 | 
						
							
							
								
								Remove extraneous using from math/
							
							
							
							
							
						 | 
						
							2011-09-25 19:32:35 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								f6ee4c5a55
								
							
								
							
						 | 
						
							
							
								
								math.order: Removing stack effect (not quite right).
							
							
							
							
							
						 | 
						
							2011-09-23 17:46:49 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								3c1356bf69
								
							
								
							
						 | 
						
							
							
								
								Adding stack effects.
							
							
							
							
							
						 | 
						
							2011-09-23 17:46:40 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								c99e6d79cd
								
							
								
							
						 | 
						
							
							
								
								math: fix docs for 'when-zero'.
							
							
							
							
							
						 | 
						
							2011-09-02 21:13:29 -07:00 | 
						
					
				
					
						
							
							
								 
								Keita Haga
							
						 | 
						
							
							
							
							
								
							
								3aaf58a3dd
								
							
								
							
						 | 
						
							
							
								
								math: fix typo in docs
							
							
							
							
							
						 | 
						
							2011-01-09 02:29:33 +09:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								bb4529bff2
								
							
								
							
						 | 
						
							
							
								
								math.integers: fix underflow and overflow behavior
							
							
							
							
							
						 | 
						
							2010-12-18 16:00:17 -08:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								f27080498d
								
							
								
							
						 | 
						
							
							
								
								Remove bignum>float VM primitive, and use bignum/f to implement >float on bignums instead, for a slight accuracy gain. Also, bignum/f now has a more efficient post-scaling algorithm to break the circular dependency on bignum>float
							
							
							
							
							
						 | 
						
							2010-11-24 22:41:15 -08:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								0c840a7965
								
							
								
							
						 | 
						
							
							
								
								math.integers: bignum/f rounding was wrong (reported by Joe Groff)
							
							
							
							
							
						 | 
						
							2010-11-13 16:02:12 -08:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								65dcd56b0b
								
							
								
							
						 | 
						
							
							
								
								math.integers: fix 0 0 bignum/f (reported by Joe Groff)
							
							
							
							
							
						 | 
						
							2010-11-12 19:49:18 -08:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								1985705413
								
							
								
							
						 | 
						
							
							
								
								compiler: now that FFI has been deconcatenatized, we no longer need the special ##unary-float-function and ##binary-float-function fastpaths
							
							
							
							
							
						 | 
						
							2010-08-13 23:59:19 -07:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								1196087991
								
							
								
							
						 | 
						
							
							
								
								math: declare quotation stack effects on each-integer, times, find-integer, all-integers?
							
							
							
							
							
						 | 
						
							2010-05-13 14:30:19 -07:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								23b3535053
								
							
								
							
						 | 
						
							
							
								
								Fix typo in between? stack effect docs
							
							
							
							
							
						 | 
						
							2010-05-05 18:16:54 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								288090d993
								
							
								
							
						 | 
						
							
							
								
								math.parser: expose a format-float primitive for use by formatting vocabulary
							
							
							
							
							
						 | 
						
							2010-04-13 21:21:28 -07:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								18f3df9d4a
								
							
								
							
						 | 
						
							
							
								
								more help-lint
							
							
							
							
							
						 | 
						
							2010-03-09 21:02:43 -08:00 |