John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								e84e508256
								
							
								
							
						 | 
						
							
							
								
								math.ratios: speed up some operations on ratios.
							
							
							
							
							
						 | 
						
							2012-09-10 19:53:25 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								3836d57321
								
							
								
							
						 | 
						
							
							
								
								math.functions: faster (integer) m^n.
							
							
							
							
							
						 | 
						
							2012-08-31 15:10:48 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								ea25cde2af
								
							
								
							
						 | 
						
							
							
								
								math.functions: make it clear that 0 = is the more correct zero?.
							
							
							
							
							
						 | 
						
							2012-08-13 08:03:54 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								4561cf7684
								
							
								
							
						 | 
						
							
							
								
								Revert "math.functions: cleaner rect>."
							
							
							
							
							
							
							
							This reverts commit 5ecff652ba. 
							
						 | 
						
							2012-08-11 10:40:41 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								0178117d6c
								
							
								
							
						 | 
						
							
							
								
								math.functions: cleaner rect>.
							
							
							
							
							
						 | 
						
							2012-08-10 15:51:11 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								9063235994
								
							
								
							
						 | 
						
							
							
								
								math.functions: minor cleanup.
							
							
							
							
							
						 | 
						
							2012-06-22 08:38:34 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								d10fd71cb3
								
							
								
							
						 | 
						
							
							
								
								math.functions: implement copysign.
							
							
							
							
							
						 | 
						
							2012-06-01 08:24:35 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								31c7bd8e86
								
							
								
							
						 | 
						
							
							
								
								math.functions: adding generalized signum function.  Fixes #509.
							
							
							
							
							
						 | 
						
							2012-05-03 14:44:10 -07:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								f6398365bd
								
							
								
							
						 | 
						
							
							
								
								math.functions: rename exp to e^ to be consistent with 2^ and 10^. update things.
							
							
							
							
							
						 | 
						
							2012-05-02 10:22:23 -07:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								fee4d76b73
								
							
								
							
						 | 
						
							
							
								
								math.functions: Add e^ and sigmoid functions.
							
							
							
							
							
						 | 
						
							2012-05-02 09:21:34 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								7a15418cf4
								
							
								
							
						 | 
						
							
							
								
								math.functions: adding another test for roots.
							
							
							
							
							
						 | 
						
							2012-04-19 13:34:42 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								adc7b22997
								
							
								
							
						 | 
						
							
							
								
								math.functions: adding "roots" word to get arbitrary roots from numbers.
							
							
							
							
							
						 | 
						
							2012-04-19 12:19:14 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								1e8eb18216
								
							
								
							
						 | 
						
							
							
								
								math.functions: adding docs and tests for ^mod.
							
							
							
							
							
						 | 
						
							2012-04-19 08:20:11 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								214195e56a
								
							
								
							
						 | 
						
							
							
								
								Revert "math.functions: simpler without "simple-gcd"."
							
							
							
							
							
							
							
							This reverts commit aa7f60ebbc. 
							
						 | 
						
							2012-04-05 10:34:50 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								b240519bff
								
							
								
							
						 | 
						
							
							
								
								math.functions: simpler without "simple-gcd".
							
							
							
							
							
						 | 
						
							2012-04-05 10:31:46 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								b2ffda32ca
								
							
								
							
						 | 
						
							
							
								
								math: adding a fast-gcd that speeds up all ratio operations by up to 10 times for bignum ratios.
							
							
							
							
							
						 | 
						
							2012-04-05 09:17:52 -07:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								943596575a
								
							
								
							
						 | 
						
							
							
								
								use radix literals
							
							
							
							
							
						 | 
						
							2011-11-23 19:03:40 -08:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								60f928ddbf
								
							
								
							
						 | 
						
							
							
								
								math.functions: flushable and foldable don't do anything on inline words because flushable and foldable work on call sites (#call nodes), and inlined words are inlined into another word's call site; they don't generate their own #call node.
							
							
							
							
							
						 | 
						
							2011-11-06 19:25:53 -08:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								cf54ce8e42
								
							
								
							
						 | 
						
							
							
								
								math.functions: when gcd is inlined, "gcd nip" is almost as good as "gcd*".
							
							
							
							
							
						 | 
						
							2011-10-18 10:30:39 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								38a54cb8df
								
							
								
							
						 | 
						
							
							
								
								math.functions: improve stack effect names for gcd*.
							
							
							
							
							
						 | 
						
							2011-10-17 20:37:36 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								ac98269f53
								
							
								
							
						 | 
						
							
							
								
								math.functions: faster gcd means faster ratios.
							
							
							
							
							
						 | 
						
							2011-10-17 20:36:28 -07:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								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 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								96c710a7b7
								
							
								
							
						 | 
						
							
							
								
								math.functions: inline 'on-bits' per Joe Groff's suggestion.
							
							
							
							
							
						 | 
						
							2011-09-22 13:44:30 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								aa880f46ca
								
							
								
							
						 | 
						
							
							
								
								math.functions: rename 'bignum-log-helper'.
							
							
							
							
							
						 | 
						
							2011-09-22 12:38:33 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								820b54d0f7
								
							
								
							
						 | 
						
							
							
								
								math.functions: duplicate on-bits to avoid circular dependency on math.bitwise.
							
							
							
							
							
						 | 
						
							2011-09-22 12:23:16 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								90dbb84663
								
							
								
							
						 | 
						
							
							
								
								math.functions: test log with negative (really) bignums.
							
							
							
							
							
						 | 
						
							2011-09-22 11:15:06 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								7f4604318a
								
							
								
							
						 | 
						
							
							
								
								math.functions: add forgotten imports and fix between? check.
							
							
							
							
							
						 | 
						
							2011-09-22 10:00:22 -07:00 | 
						
					
				
					
						
							
							
								 
								John Benediktsson
							
						 | 
						
							
							
							
							
								
							
								077ef8ed5b
								
							
								
							
						 | 
						
							
							
								
								math.functions: implement "frexp" and support log of really big numbers. Fixes #160.
							
							
							
							
							
						 | 
						
							2011-09-22 09:42:28 -07:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								efe79cf6d3
								
							
								
							
						 | 
						
							
							
								
								math.functions: make sure zero zero ^ is always nan, regardless of the type of zero
							
							
							
							
							
						 | 
						
							2011-08-01 10:26:53 -07:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								e4b1417dd2
								
							
								
							
						 | 
						
							
							
								
								math.functions: fix documentation for 10^
							
							
							
							
							
						 | 
						
							2011-06-06 16:27:56 -07:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								6e34de5588
								
							
								
							
						 | 
						
							
							
								
								math.functions: clean up
							
							
							
							
							
						 | 
						
							2010-02-10 15:04:58 +13:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								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 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								fab5cbc6b9
								
							
								
							
						 | 
						
							
							
								
								fix float integer^ for denormal results
							
							
							
							
							
						 | 
						
							2009-11-01 00:43:04 -05:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								44acd45f2a
								
							
								
							
						 | 
						
							
							
								
								move docs for nth-root, fix docs for minmax
							
							
							
							
							
						 | 
						
							2009-10-30 06:37:02 -05:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								003787113f
								
							
								
							
						 | 
						
							
							
								
								move nth-root to math.functions, use exchange-unsafe in math.statistics
							
							
							
							
							
						 | 
						
							2009-10-30 02:35:51 -05:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								0d4b9132d7
								
							
								
							
						 | 
						
							
							
								
								fix a bunch of typos in docs
							
							
							
							
							
						 | 
						
							2009-10-21 17:40:43 -05:00 | 
						
					
				
					
						
							
							
								 
								Keith Lazuka
							
						 | 
						
							
							
							
							
								
							
								405e5d015b
								
							
								
							
						 | 
						
							
							
								
								docs: change $subsection to $subsections
							
							
							
							
							
						 | 
						
							2009-10-02 12:15:48 -04:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								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 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								0836e79e66
								
							
								
							
						 | 
						
							
							
								
								Fix conflict
							
							
							
							
							
						 | 
						
							2009-09-23 20:52:04 -05:00 | 
						
					
				
					
						
							
							
								 
								Keith Lazuka
							
						 | 
						
							
							
							
							
								
							
								bea4aa7662
								
							
								
							
						 | 
						
							
							
								
								docs: updated some docs to use new  markup
							
							
							
							
							
						 | 
						
							2009-09-22 15:22:34 -04:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								fe0701deb1
								
							
								
							
						 | 
						
							
							
								
								math.functions: fix ~ with negative (relative) tolerance
							
							
							
							
							
						 | 
						
							2009-09-22 03:19:47 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								b03eaf3c32
								
							
								
							
						 | 
						
							
							
								
								math: minor doc fixes
							
							
							
							
							
						 | 
						
							2009-09-15 15:42:46 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								4f702de449
								
							
								
							
						 | 
						
							
							
								
								math.functions: more accurate log10 (fixes problem reported by OneEyed)
							
							
							
							
							
						 | 
						
							2009-09-14 16:19:58 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								abedea0ccb
								
							
								
							
						 | 
						
							
							
								
								math.functions: loosen tests up a bit since exp(1) on FreeBSD x86/64 differs from e in the last bit
							
							
							
							
							
						 | 
						
							2009-09-13 22:33:12 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								1337f82ce6
								
							
								
							
						 | 
						
							
							
								
								math.order: better docs
							
							
							
							
							
						 | 
						
							2009-09-12 16:33:42 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								ffcc630601
								
							
								
							
						 | 
						
							
							
								
								log1+ word (maps to C99 log1p function)
							
							
							
							
							
						 | 
						
							2009-09-11 20:28:15 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								7983b5515f
								
							
								
							
						 | 
						
							
							
								
								math.functions: some fixes
							
							
							
							
							
						 | 
						
							2009-08-30 06:19:14 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								030b1b816c
								
							
								
							
						 | 
						
							
							
								
								Add inline declarations for various assorted methods
							
							
							
							
							
						 | 
						
							2009-08-17 22:32:21 -05:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								7c92ab1ea5
								
							
								
							
						 | 
						
							
							
								
								move if-zero etc to math, remove 1-/1+ from math
							
							
							
							
							
						 | 
						
							2009-08-14 14:27:23 -05:00 | 
						
					
				
					
						
							
							
								 
								Doug Coleman
							
						 | 
						
							
							
							
							
								
							
								02becc26fc
								
							
								
							
						 | 
						
							
							
								
								add docs for if-zero etc, add docs for 10^
							
							
							
							
							
						 | 
						
							2009-08-11 18:45:01 -05:00 |