cf54ce8e42 
								
							
								 
							
						 
						
							
							
								
								math.functions: when gcd is inlined, "gcd nip" is almost as good as "gcd*".  
							
							
							
						 
						
							2011-10-18 10:30:39 -07:00  
				
					
						
							
							
								 
						
							
							
								38a54cb8df 
								
							
								 
							
						 
						
							
							
								
								math.functions: improve stack effect names for gcd*.  
							
							
							
						 
						
							2011-10-17 20:37:36 -07:00  
				
					
						
							
							
								 
						
							
							
								ac98269f53 
								
							
								 
							
						 
						
							
							
								
								math.functions: faster gcd means faster ratios.  
							
							
							
						 
						
							2011-10-17 20:36:28 -07:00  
				
					
						
							
							
								 
						
							
							
								954bf89c40 
								
							
								 
							
						 
						
							
							
								
								math.functions: clean up some more to trim back load-time dependencies; alter tests to avoid inexact float constants where possible and hex-ify inexact constants otherwise  
							
							
							
						 
						
							2011-09-22 16:04:49 -07:00  
				
					
						
							
							
								 
						
							
							
								96c710a7b7 
								
							
								 
							
						 
						
							
							
								
								math.functions: inline 'on-bits' per Joe Groff's suggestion.  
							
							
							
						 
						
							2011-09-22 13:44:30 -07:00  
				
					
						
							
							
								 
						
							
							
								aa880f46ca 
								
							
								 
							
						 
						
							
							
								
								math.functions: rename 'bignum-log-helper'.  
							
							
							
						 
						
							2011-09-22 12:38:33 -07:00  
				
					
						
							
							
								 
						
							
							
								820b54d0f7 
								
							
								 
							
						 
						
							
							
								
								math.functions: duplicate on-bits to avoid circular dependency on math.bitwise.  
							
							
							
						 
						
							2011-09-22 12:23:16 -07:00  
				
					
						
							
							
								 
						
							
							
								7f4604318a 
								
							
								 
							
						 
						
							
							
								
								math.functions: add forgotten imports and fix between? check.  
							
							
							
						 
						
							2011-09-22 10:00:22 -07:00  
				
					
						
							
							
								 
						
							
							
								077ef8ed5b 
								
							
								 
							
						 
						
							
							
								
								math.functions: implement "frexp" and support log of really big numbers.  Fixes   #160 .  
							
							
							
						 
						
							2011-09-22 09:42:28 -07:00  
				
					
						
							
							
								 
						
							
							
								efe79cf6d3 
								
							
								 
							
						 
						
							
							
								
								math.functions: make sure zero zero ^ is always nan, regardless of the type of zero  
							
							
							
						 
						
							2011-08-01 10:26:53 -07:00  
				
					
						
							
							
								 
						
							
							
								6e34de5588 
								
							
								 
							
						 
						
							
							
								
								math.functions: clean up  
							
							
							
						 
						
							2010-02-10 15:04:58 +13:00  
				
					
						
							
							
								 
						
							
							
								df40d92216 
								
							
								 
							
						 
						
							
							
								
								math.functions: fix memory protection error if exp called on a complex number with a rational real part (reported by prunedtree)  
							
							
							
						 
						
							2010-01-15 08:23:48 +13:00  
				
					
						
							
							
								 
						
							
							
								fab5cbc6b9 
								
							
								 
							
						 
						
							
							
								
								fix float integer^ for denormal results  
							
							
							
						 
						
							2009-11-01 00:43:04 -05:00  
				
					
						
							
							
								 
						
							
							
								003787113f 
								
							
								 
							
						 
						
							
							
								
								move nth-root to math.functions, use exchange-unsafe in math.statistics  
							
							
							
						 
						
							2009-10-30 02:35:51 -05:00  
				
					
						
							
							
								 
						
							
							
								0a29e64287 
								
							
								 
							
						 
						
							
							
								
								math.functions: ~ now raises an invalid operation FP trap if one of the inputs is NaN  
							
							
							
						 
						
							2009-09-29 23:41:08 -05:00  
				
					
						
							
							
								 
						
							
							
								fe0701deb1 
								
							
								 
							
						 
						
							
							
								
								math.functions: fix ~ with negative (relative) tolerance  
							
							
							
						 
						
							2009-09-22 03:19:47 -05:00  
				
					
						
							
							
								 
						
							
							
								4f702de449 
								
							
								 
							
						 
						
							
							
								
								math.functions: more accurate log10 (fixes problem reported by OneEyed)  
							
							
							
						 
						
							2009-09-14 16:19:58 -05:00  
				
					
						
							
							
								 
						
							
							
								ffcc630601 
								
							
								 
							
						 
						
							
							
								
								log1+ word (maps to C99 log1p function)  
							
							
							
						 
						
							2009-09-11 20:28:15 -05:00  
				
					
						
							
							
								 
						
							
							
								7983b5515f 
								
							
								 
							
						 
						
							
							
								
								math.functions: some fixes  
							
							
							
						 
						
							2009-08-30 06:19:14 -05:00  
				
					
						
							
							
								 
						
							
							
								030b1b816c 
								
							
								 
							
						 
						
							
							
								
								Add inline declarations for various assorted methods  
							
							
							
						 
						
							2009-08-17 22:32:21 -05:00  
				
					
						
							
							
								 
						
							
							
								02becc26fc 
								
							
								 
							
						 
						
							
							
								
								add docs for if-zero etc, add docs for 10^  
							
							
							
						 
						
							2009-08-11 18:45:01 -05:00  
				
					
						
							
							
								 
						
							
							
								4a3d63e00a 
								
							
								 
							
						 
						
							
							
								
								use if-zero in a few more places  
							
							
							
						 
						
							2009-08-11 18:15:53 -05:00  
				
					
						
							
							
								 
						
							
							
								4fef246ca4 
								
							
								 
							
						 
						
							
							
								
								add 10^ to math.functions and update usages  
							
							
							
						 
						
							2009-08-11 18:00:24 -05:00  
				
					
						
							
							
								 
						
							
							
								037ed45339 
								
							
								 
							
						 
						
							
							
								
								give range models a step parameter; use it on sliders so the thumb can step by any interval  
							
							
							
						 
						
							2009-06-18 20:57:02 -05:00  
				
					
						
							
							
								 
						
							
							
								a2640672d7 
								
							
								 
							
						 
						
							
							
								
								«0.0 1.0 ^» was returning 0 instead of 0.0  
							
							
							
						 
						
							2009-06-11 17:47:52 -05:00  
				
					
						
							
							
								 
						
							
							
								e38e805015 
								
							
								 
							
						 
						
							
							
								
								math.functions: fix ^ for complex numbers  
							
							
							
						 
						
							2009-05-31 23:28:29 -05:00  
				
					
						
							
							
								 
						
							
							
								4cb6ecbc3c 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of git://factorcode.org/git/factor  
							
							
							
						 
						
							2009-05-06 13:23:05 -05:00  
				
					
						
							
							
								 
						
							
							
								2bb7b287f7 
								
							
								 
							
						 
						
							
							
								
								make ^n foldable  
							
							
							
						 
						
							2009-05-06 12:36:34 -05:00  
				
					
						
							
							
								 
						
							
							
								d168f76ab0 
								
							
								 
							
						 
						
							
							
								
								remove 1-, 1+, use iota somewhere  
							
							
							
						 
						
							2009-05-05 23:32:23 -05:00  
				
					
						
							
							
								 
						
							
							
								2a00f10d1a 
								
							
								 
							
						 
						
							
							
								
								lerp functions  
							
							
							
						 
						
							2009-05-05 13:55:00 -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  
				
					
						
							
							
								 
						
							
							
								a4e62dfdba 
								
							
								 
							
						 
						
							
							
								
								Fix for math.parser syntax change  
							
							
							
						 
						
							2009-04-13 14:47:39 -05:00  
				
					
						
							
							
								 
						
							
							
								7e0f271cf3 
								
							
								 
							
						 
						
							
							
								
								fix typo in docs  
							
							
							
						 
						
							2009-04-02 17:00:29 -05:00  
				
					
						
							
							
								 
						
							
							
								c698a83a12 
								
							
								 
							
						 
						
							
							
								
								Add divisor? math function  
							
							
							
						 
						
							2009-04-01 19:29:19 -04:00  
				
					
						
							
							
								 
						
							
							
								25a877e50b 
								
							
								 
							
						 
						
							
							
								
								Merge OneEyed's patch  
							
							
							
						 
						
							2009-02-28 17:06:55 -06:00  
				
					
						
							
							
								 
						
							
							
								78ce670101 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'for-slava' of git://git.rfc1149.net/factor  
							
							
							
						 
						
							2009-02-28 14:42:56 -06:00  
				
					
						
							
							
								 
						
							
							
								91d0c4ed1f 
								
							
								 
							
						 
						
							
							
								
								Fix conflict  
							
							
							
						 
						
							2009-02-22 20:02:13 -06:00  
				
					
						
							
							
								 
						
							
							
								70d931d0b2 
								
							
								 
							
						 
						
							
							
								
								Creating math.bits  
							
							
							
						 
						
							2009-02-20 20:14:54 -06:00  
				
					
						
							
							
								 
						
							
							
								15b5d696c1 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into new_ui  
							
							
							
						 
						
							2009-02-19 18:25:59 -06:00  
				
					
						
							
							
								 
						
							
							
								90b6b38fd1 
								
							
								 
							
						 
						
							
							
								
								Changed math.dual to define words as dword instead of overloading generic words on dual numbers.  
							
							
							
						 
						
							2009-02-19 18:49:13 -05:00  
				
					
						
							
							
								 
						
							
							
								5e19766330 
								
							
								 
							
						 
						
							
							
								
								Fix conflict  
							
							
							
						 
						
							2009-02-18 22:20:05 -06:00  
				
					
						
							
							
								 
						
							
							
								087d931c36 
								
							
								 
							
						 
						
							
							
								
								Remove the tail argument from do/until/while  
							
							
							
						 
						
							2009-02-18 02:41:14 +01:00  
				
					
						
							
							
								 
						
							
							
								fe55e939f9 
								
							
								 
							
						 
						
							
							
								
								Added math.dual and math.derivatives for computing with dual numbers. Also  
							
							... 
							
							
							
							made a few more methods in math.functions generic in order to specialize them
on dual numbers. 
							
						 
						
							2009-02-12 23:13:16 -05: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  
				
					
						
							
							
								 
						
							
							
								f34c14a0f5 
								
							
								 
							
						 
						
							
							
								
								Remove some usages of tuck  
							
							
							
						 
						
							2009-01-23 18:20:47 -06:00  
				
					
						
							
							
								 
						
							
							
								daf2857d7b 
								
							
								 
							
						 
						
							
							
								
								define-inline now takes an effect parameter  
							
							... 
							
							
							
							C: now sets the stack effect of the new word to slot names
add new basis/constants vocab; CONSTANT: foo bar is equivalent to : foo bar ; inline
(going to fold CONSTANT:, ALIAS: and qualified into core soon perhaps)
tighten the screws: inline words now need a stack declaration too
update some usages of inline words 
							
						 
						
							2008-12-15 19:44:56 -06:00  
				
					
						
							
							
								 
						
							
							
								52c5b53e27 
								
							
								 
							
						 
						
							
							
								
								Refactoring usages of >r, r>, -rot, rot  
							
							
							
						 
						
							2008-11-30 22:21:37 -06:00  
				
					
						
							
							
								 
						
							
							
								e1578b5848 
								
							
								 
							
						 
						
							
							
								
								Tweak math.functions to inline better  
							
							
							
						 
						
							2008-11-29 03:49:24 -06:00  
				
					
						
							
							
								 
						
							
							
								000d84a871 
								
							
								 
							
						 
						
							
							
								
								Replace pick pick with 2over in math.functions  
							
							
							
						 
						
							2008-11-17 18:20:34 -05:00  
				
					
						
							
							
								 
						
							
							
								c7f5d53144 
								
							
								 
							
						 
						
							
							
								
								Cleanup math.functions and remove >r r> usages  
							
							
							
						 
						
							2008-11-16 21:24:56 -05:00