- Nov 26, 2013
-
-
Raymond Toy authored
qd-fun.lisp: o Use atan-qd/taylor and atan2-qd/taylor as the atan-qd and atan2-qd implementation. o Fix bug in atan-qd/taylor. We need a special case for x small where we don't want to use the table. (Found by our rt-test. Yay!) rt-tests.lisp: o Add comment for oct.atan.4 for why it works.
-
Raymond Toy authored
qd-const.lisp: o Update tables and generator to use tables with only half as many entries as before. This is because atan-qd/taylor never needs to compute directly for x > 1. qd-fun.lisp: o Use table length for binary search, so we're independent of other constants. o Remove FIXME.
-
Raymond Toy authored
qd-fun.lisp: o Fix issue with atan-qd/taylor for large args. We use the relationship atan(x) = pi/2-atan(1/x) for x > 1. o Add atan2-qd/taylor. This appears to be much faster than atan2-qd/newton. timing.lisp: o Add timing test for atan2-qd.
-
Raymond Toy authored
The new method uses a table and the taylor series for atan to compute atan for real args. qd-const.lisp: o Add the two tables used for the atan computation. o Include clisp code that generates the tables. qd-fun.lisp: o Implement atan using a set of tables and a Taylor series. timing.lisp: o Add a simple timing program to evaluate how fast each atan method is.
-
- Nov 25, 2013
-
-
Raymond Toy authored
o Remove old version o Update new version to skip reduction if the arg <= pi/4.
-
Raymond Toy authored
-
- Nov 24, 2013
-
-
Raymond Toy authored
o Implement better pi reduction and also always do pi reduction. o Add test for sin(pi) and cos(2^120), to test pi reduction. o Accuracy for erfc is only 198 bits.
-
- Apr 26, 2013
-
-
Raymond Toy authored
qd-gamma.lisp:: Add continued fractions rt-tests.lisp:: Add a test for erfc
-
- Apr 17, 2012
-
-
-
Raymond Toy authored
-
Raymond Toy authored
-
Raymond Toy authored
-
Raymond Toy authored
-
- Apr 16, 2012
-
-
- Apr 15, 2012
-
-
Raymond Toy authored
* Simplify {{{sum-an}}} so we stop the sum when the terms no longer contribute to the sum. * Change {{{big-n}}}. This still needs work.
-
- Apr 13, 2012
-
-
Raymond Toy authored
-
Raymond Toy authored
-
- Apr 12, 2012
-
-
-
Raymond Toy authored
-
Raymond Toy authored
-
Raymond Toy authored
-
Raymond Toy authored
-
Raymond Toy authored
converge when v = 0. * Clear hash tables in bessel-j.
-
Raymond Toy authored
-
Raymond Toy authored
-
Raymond Toy authored
-
- Apr 11, 2012
-
-
-
Raymond Toy authored
-
Raymond Toy authored
caused oct.elliptic-pi.n2.d to fail.
-
Raymond Toy authored
* qd-gamma.lisp:: * Return sqrt(least-positive-normalized-double) instead of least-positive-normalized-double. * rt-tests.lisp:: * Add test for this case.
-
- Apr 10, 2012
-
-
Raymond Toy authored
case where v is an integer.
-
Raymond Toy authored
* Add series for Bessel J. (Not working yet.)
-
- Apr 09, 2012
-
-
-
Raymond Toy authored
-
Raymond Toy authored
series.
-
-
- Apr 08, 2012
-
-
Raymond Toy authored
qd-methods.lisp: * Define FLOATP * Fix bugs in FLOAT: * (FLOAT float nil) is an error * (FLOAT float) returns the float * (FLOAT rational) returns a single-float. qd-package.lisp: o Export FLOATP, shadowing CL:FLOAT. rt-tests.lisp: o Add a few tests for FLOAT.
-
Raymond Toy authored
-
Raymond Toy authored
-
Raymond Toy authored
-