Commit Graph

66 Commits (dd2a4c2c7783cb08605c117436f5ec5b6236eb18)

Author SHA1 Message Date
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
Doug Coleman 4a3d63e00a use if-zero in a few more places 2009-08-11 18:15:53 -05:00
Doug Coleman 4fef246ca4 add 10^ to math.functions and update usages 2009-08-11 18:00:24 -05:00
Joe Groff 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
Joe Groff a2640672d7 «0.0 1.0 ^» was returning 0 instead of 0.0 2009-06-11 17:47:52 -05:00
Slava Pestov e38e805015 math.functions: fix ^ for complex numbers 2009-05-31 23:28:29 -05:00
Doug Coleman a54c78007b add a clamp word to math.order, use clamp word throughout libraries 2009-05-24 21:35:50 -05:00
Joe Groff 4cb6ecbc3c Merge branch 'master' of git://factorcode.org/git/factor 2009-05-06 13:23:05 -05:00
Joe Groff 2bb7b287f7 make ^n foldable 2009-05-06 12:36:34 -05:00
Doug Coleman d168f76ab0 remove 1-, 1+, use iota somewhere 2009-05-05 23:32:23 -05:00
Joe Groff 2a00f10d1a lerp functions 2009-05-05 13:55:00 -05:00
Slava Pestov 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
sheeple a4e62dfdba Fix for math.parser syntax change 2009-04-13 14:47:39 -05:00
Slava Pestov 0ffd43e2e3 1.0/0.0 => 1/0. 2009-04-13 19:48:08 -05:00
Doug Coleman 7e0f271cf3 fix typo in docs 2009-04-02 17:00:29 -05:00
Aaron Schaefer ca9fb1fcf1 Update usages of divisor? where appropriate 2009-04-01 21:53:18 -04:00
Aaron Schaefer c698a83a12 Add divisor? math function 2009-04-01 19:29:19 -04:00
Slava Pestov 25a877e50b Merge OneEyed's patch 2009-02-28 17:06:55 -06:00
Slava Pestov 78ce670101 Merge branch 'for-slava' of git://git.rfc1149.net/factor 2009-02-28 14:42:56 -06:00
Slava Pestov 91d0c4ed1f Fix conflict 2009-02-22 20:02:13 -06:00
Slava Pestov 127f9b3578 Add unit tests for bignum bug 2009-02-22 19:41:47 -06:00
Daniel Ehrenberg 70d931d0b2 Creating math.bits 2009-02-20 20:14:54 -06:00
Slava Pestov 15b5d696c1 Merge branch 'master' into new_ui 2009-02-19 18:25:59 -06:00
Jason Merrill 4e0db1332c Merge branch 'master' of git://factorcode.org/git/factor 2009-02-19 18:55:27 -05:00
Jason Merrill 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
Slava Pestov b4a61114e1 Merge branch 'master' into new_ui 2009-02-19 13:36:32 -06:00
Slava Pestov 60134eeb98 Documentation fixes 2009-02-19 13:35:53 -06:00
Slava Pestov 5e19766330 Fix conflict 2009-02-18 22:20:05 -06:00
Samuel Tardieu 087d931c36 Remove the tail argument from do/until/while 2009-02-18 02:41:14 +01:00
Jason Merrill 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
Slava Pestov 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