24ad4e9424 
								
							
								 
							
						 
						
							
							
								
								math: remove out-of-fixnum-range error.  
							
							
							
						 
						
							2014-06-07 09:50:50 -07:00  
				
					
						
							
							
								 
						
							
							
								63514bbbf8 
								
							
								 
							
						 
						
							
							
								
								math: fix quot stack effect in unless-zero.  
							
							
							
						 
						
							2014-01-07 08:25:18 -08:00  
				
					
						
							
							
								 
						
							
							
								5a9e7cd374 
								
							
								 
							
						 
						
							
							
								
								classes.builtin: Add the BUILTIN: keyword which lets builtin classes show up in source files. Probably could use save-location to allow editing, but it seemed to break things.  
							
							
							
						 
						
							2013-03-10 12:05:38 -07:00  
				
					
						
							
							
								 
						
							
							
								ff95c17972 
								
							
								 
							
						 
						
							
							
								
								math: speed up (find-integer) and (all-integers?) by removing curry.  
							
							
							
						 
						
							2013-03-04 17:32:11 -08:00  
				
					
						
							
							
								 
						
							
							
								eaed0db99a 
								
							
								 
							
						 
						
							
							
								
								Revert "math: speed up integer>fixnum operations."  
							
							... 
							
							
							
							This reverts commit b467db9a9a 
							
						 
						
							2012-09-16 07:46:22 -07:00  
				
					
						
							
							
								 
						
							
							
								6ea9c0fc02 
								
							
								 
							
						 
						
							
							
								
								math: speed up integer>fixnum operations.  
							
							
							
						 
						
							2012-09-15 08:52:06 -07:00  
				
					
						
							
							
								 
						
							
							
								a4f264509d 
								
							
								 
							
						 
						
							
							
								
								math: cleaner "2/" speedup by using custom inlining.  
							
							
							
						 
						
							2012-09-10 17:59:03 -07:00  
				
					
						
							
							
								 
						
							
							
								36fb890be2 
								
							
								 
							
						 
						
							
							
								
								math: faster definition of 2/ (allows inlining of fixnum-shift-fast).  
							
							
							
						 
						
							2012-09-10 17:20:31 -07:00  
				
					
						
							
							
								 
						
							
							
								009fb4249e 
								
							
								 
							
						 
						
							
							
								
								math: faster recip for integers and ratios.  
							
							
							
						 
						
							2012-09-02 09:47:31 -07:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								4e72d80256 
								
							
								 
							
						 
						
							
							
								
								Using "same?" in more places.  
							
							
							
						 
						
							2012-07-21 10:22:44 -07:00  
				
					
						
							
							
								 
						
							
							
								90f34d092c 
								
							
								 
							
						 
						
							
							
								
								math: neg? needs to be defined for all reals  
							
							
							
						 
						
							2011-11-26 15:37:58 -08:00  
				
					
						
							
							
								 
						
							
							
								4e8a1d0bb4 
								
							
								 
							
						 
						
							
							
								
								math: add neg? word  
							
							... 
							
							
							
							Do the right thing with integers or floats 
							
						 
						
							2011-11-23 19:51:05 -08:00  
				
					
						
							
							
								 
						
							
							
								943596575a 
								
							
								 
							
						 
						
							
							
								
								use radix literals  
							
							
							
						 
						
							2011-11-23 19:03:40 -08:00  
				
					
						
							
							
								 
						
							
							
								82a28a082b 
								
							
								 
							
						 
						
							
							
								
								Remove extraneous using from math/  
							
							
							
						 
						
							2011-09-25 19:32:35 -07:00  
				
					
						
							
							
								 
						
							
							
								3c1356bf69 
								
							
								 
							
						 
						
							
							
								
								Adding stack effects.  
							
							
							
						 
						
							2011-09-23 17:46:40 -07:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								1196087991 
								
							
								 
							
						 
						
							
							
								
								math: declare quotation stack effects on each-integer, times, find-integer, all-integers?  
							
							
							
						 
						
							2010-05-13 14:30:19 -07:00  
				
					
						
							
							
								 
						
							
							
								85f30987e2 
								
							
								 
							
						 
						
							
							
								
								spray some polymorphic stack effects on kernel, math, and sequences  
							
							
							
						 
						
							2010-03-05 00:21:10 -08:00  
				
					
						
							
							
								 
						
							
							
								0612bc6177 
								
							
								 
							
						 
						
							
							
								
								Factor source files should not be executable  
							
							
							
						 
						
							2009-11-21 17:50:43 -06:00  
				
					
						
							
							
								 
						
							
							
								70ffa003ec 
								
							
								 
							
						 
						
							
							
								
								eliminate roll/-roll from core  
							
							
							
						 
						
							2009-10-30 13:36:15 -05:00  
				
					
						
							
							
								 
						
							
							
								32b95c2cdf 
								
							
								 
							
						 
						
							
							
								
								math: add unordered comparison operators u< u<= u> u>= which behave exactly like < <= > >= except no floating point exceptions are set if one or both inputs are NaNs; also add efficient intrinsic for unordered? predicate, and fix propagation type functions for abs, absq, and bitnot  
							
							
							
						 
						
							2009-09-12 22:20:13 -05:00  
				
					
						
							
							
								 
						
							
							
								11f984e734 
								
							
								 
							
						 
						
							
							
								
								math.floats: fix abs on floats; -0.0 abs should be 0.0 not -0.0  
							
							
							
						 
						
							2009-09-12 16:24:07 -05:00  
				
					
						
							
							
								 
						
							
							
								14f412b404 
								
							
								 
							
						 
						
							
							
								
								add an "unordered?" predicate to math, with a dumb implementation for now  
							
							
							
						 
						
							2009-09-10 23:45:18 -04:00  
				
					
						
							
							
								 
						
							
							
								79cdc45339 
								
							
								 
							
						 
						
							
							
								
								math: move float methods to math.floats  
							
							
							
						 
						
							2009-08-20 03:55:19 -05:00  
				
					
						
							
							
								 
						
							
							
								030b1b816c 
								
							
								 
							
						 
						
							
							
								
								Add inline declarations for various assorted methods  
							
							
							
						 
						
							2009-08-17 22:32:21 -05:00  
				
					
						
							
							
								 
						
							
							
								7c92ab1ea5 
								
							
								 
							
						 
						
							
							
								
								move if-zero etc to math, remove 1-/1+ from math  
							
							
							
						 
						
							2009-08-14 14:27:23 -05:00  
				
					
						
							
							
								 
						
							
							
								686b3e348e 
								
							
								 
							
						 
						
							
							
								
								use ERROR: in several places instead of throwing strings  
							
							
							
						 
						
							2009-08-11 23:09:02 -05:00  
				
					
						
							
							
								 
						
							
							
								c5d440700d 
								
							
								 
							
						 
						
							
							
								
								0.0 neg ought to be -0.0  
							
							
							
						 
						
							2009-05-21 18:49:22 -05:00  
				
					
						
							
							
								 
						
							
							
								4ee4357e75 
								
							
								 
							
						 
						
							
							
								
								Fix negative zero smashing with bootstrap  
							
							
							
						 
						
							2009-05-09 18:17:30 -05:00  
				
					
						
							
							
								 
						
							
							
								9021062795 
								
							
								 
							
						 
						
							
							
								
								fp-nan? was defined incorrectly. while i'm here, let's add some more float manipulation words  
							
							
							
						 
						
							2009-05-09 09:49:31 -05:00  
				
					
						
							
							
								 
						
							
							
								0ad6d1fb7b 
								
							
								 
							
						 
						
							
							
								
								add a few usages of iota, remove most 1+ and 1- from core  
							
							
							
						 
						
							2009-05-01 19:58:24 -05:00  
				
					
						
							
							
								 
						
							
							
								fc4894fbdf 
								
							
								 
							
						 
						
							
							
								
								Replace ratio and complex built-in types with tuples defined in the library. This frees up two lo-tags, so move array and quotation over to these tags and update compiler for new tags  
							
							
							
						 
						
							2009-04-30 00:27:35 -05:00  
				
					
						
							
							
								 
						
							
							
								1bbabcd5e1 
								
							
								 
							
						 
						
							
							
								
								Remove some usages of slip combinators from the core  
							
							
							
						 
						
							2009-02-05 03:29:59 -06:00  
				
					
						
							
							
								 
						
							
							
								669548e62e 
								
							
								 
							
						 
						
							
							
								
								Clean up some usages of tuck, and add Joe's curried cleave/spread/apply combinators to kernel vocabulary  
							
							
							
						 
						
							2009-02-02 13:43:54 -06:00  
				
					
						
							
							
								 
						
							
							
								058ba127cb 
								
							
								 
							
						 
						
							
							
								
								Cleaning up more -rot usages  
							
							
							
						 
						
							2008-12-22 05:41:01 -06:00  
				
					
						
							
							
								 
						
							
							
								0021cde743 
								
							
								 
							
						 
						
							
							
								
								Fix more compile errors  
							
							
							
						 
						
							2008-12-15 22:21:56 -06:00  
				
					
						
							
							
								 
						
							
							
								53db40ba13 
								
							
								 
							
						 
						
							
							
								
								Add more stack declarations  
							
							
							
						 
						
							2008-12-13 05:06:28 -06:00  
				
					
						
							
							
								 
						
							
							
								e4f8448eb1 
								
							
								 
							
						 
						
							
							
								
								Fix some problems with arithmetic type inference, exposed by recent changes to log2 word  
							
							... 
							
							
							
							- declared input type for bignum-shift was stricter than the runtime behavior, leading to bad propagation of type info if shift count was a bignum
- types inferred for type functions which used number-valued/integer-valued/real-valued were not always precise, eg bignum bignum bitxor => integer
- add interval-log2, type function for (log2)
- remove math-class-min, it was useless 
							
						 
						
							2008-12-07 19:44:49 -06:00  
				
					
						
							
							
								 
						
							
							
								8a8f0c925c 
								
							
								 
							
						 
						
							
							
								
								Use BSR instruction to implement fixnum-log2 intrinsic  
							
							
							
						 
						
							2008-12-06 15:31:17 -06:00  
				
					
						
							
							
								 
						
							
							
								a4d9cdfeb3 
								
							
								 
							
						 
						
							
							
								
								Refactor all usages of >r/r> in core to use dip, 2dip, 3dip  
							
							... 
							
							
							
							Non-optimizing compiler now special-cases dip, 2dip, 3dip following a
literal quotation: this allows us to break the dip/slip meta-circle
without explicit calls to >r/r> 
							
						 
						
							2008-11-23 02:44:56 -06:00  
				
					
						
							
							
								 
						
							
							
								c19f2257f4 
								
							
								 
							
						 
						
							
							
								
								Fix permission bits  
							
							
							
						 
						
							2008-10-02 08:34:49 -05:00  
				
					
						
							
							
								 
						
							
							
								73086e1a61 
								
							
								 
							
						 
						
							
							
								
								add fp-infinity?, docs, and tests  
							
							
							
						 
						
							2008-09-03 01:35:03 -05:00  
				
					
						
							
							
								 
						
							
							
								110a5e5162 
								
							
								 
							
						 
						
							
							
								
								Change equality semantics  
							
							
							
						 
						
							2008-09-02 02:02:05 -05:00  
				
					
						
							
							
								 
						
							
							
								af09eae727 
								
							
								 
							
						 
						
							
							
								
								Add some more interval operations  
							
							
							
						 
						
							2008-07-22 01:27:39 -05:00  
				
					
						
							
							
								 
						
							
							
								ac2bf0b87d 
								
							
								 
							
						 
						
							
							
								
								Adding inline recursive declarations  
							
							
							
						 
						
							2008-07-18 19:22:59 -05:00  
				
					
						
							
							
								 
						
							
							
								b36e06d0d6 
								
							
								 
							
						 
						
							
							
								
								Builtinn types now use new slot accessors; tuple slot type declaration work in progress  
							
							
							
						 
						
							2008-06-28 02:36:20 -05:00  
				
					
						
							
							
								 
						
							
							
								685d53e264 
								
							
								 
							
						 
						
							
							
								
								Add gather word; faster 'implementors' using inverted index  
							
							
							
						 
						
							2008-06-12 05:49:46 -05:00  
				
					
						
							
							
								 
						
							
							
								5a29b2e273 
								
							
								 
							
						 
						
							
							
								
								Class linearization  
							
							
							
						 
						
							2008-05-02 02:51:38 -05:00