- 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
qd-methods.lisp: o Define the macro qd-gamma.lisp: o Use it.
-
- Mar 23, 2012
-
-
Raymond Toy authored
second arg is not given.
-
Raymond Toy authored
qd-methods.lisp: * Second arg to {{{FLOAT}}} is optional. * Add {{{FLOAT-NAN-P}}}. qd-package.lisp: * Need to shadow {{{EXT:FLOAT-NAN-P}}} on cmucl.
-
- Dec 05, 2011
-
-
Raymond Toy authored
o Get rid of unused var in FLOAT-CONTAGION. o QEXPT for qd-complex first arg should be defined in qd-complex.lisp.
-
Raymond Toy authored
-
- Mar 25, 2011
-
-
Raymond Toy authored
qd-methods.lisp: o Define DOMAIN-ERROR condition to allow signaling errors for incorrect domains. qd-gamma.lisp: o Signal domain error in CF-INCOMPLETE-GAMMA-TAIL if necessary. o Fix bug in FRESNEL-S-SERIES. We were comparing a real against a complex.
-
- Mar 19, 2011
-
-
Raymond Toy authored
-
- Mar 17, 2011
-
-
Raymond Toy authored
o We weren't handling the case of (expt real qd-complex). Add a method for this and other missing methods for QEXPT. o Move float contagion stuff from the end to the beginning so we can use it in this file.
-
- Mar 16, 2011
-
-
Raymond Toy authored
Fixes issues like (complex 1/2 #q1), which was signaling an error. qd-class.lisp: o Update defgeneric for QCOMPLEX for two required args. qd-methods.lisp: o Update existing QCOMPLEX methods to take two args. o Add methods to QCOMPLEX to handle the missing cases.
-
- Mar 15, 2011
-
-
Raymond Toy authored
-
- Mar 14, 2011
-
-
Raymond Toy authored
qd-const2.lisp: o New file containing +pi+ and friends qd-methods.lisp: o Removed constants. oct.asd: o Add qd-const2.lisp
-
- Mar 11, 2011
-
-
Raymond Toy authored
FLOAT-PI returns a value of pi that matches the precision of the argument.
-
- Mar 08, 2011
-
-
Raymond Toy authored
They've been moved to qd-reader.lisp.
-
Raymond Toy authored
MAKE-QD-D returns a %quad-double, not qd-real. Use +QD-REAL-ONE+ instead.
-
- Mar 07, 2011
-
-
Raymond Toy authored
If the optional arg to FLOAT-SIGN is not given, don't call qfloat-sign with a second arg of NIL. This breaks things. Call qfloat-sign with the same number of arguments as float-sign.
-
Raymond Toy authored
-
Raymond Toy authored
qd-elliptic.lisp: o Implementation for Jacobi sn, cn, and dn functions. qd-methods.lisp: o Add EPSILON method to return the floating-point epsilon value for the given float. oct.asd: o Build qd-elliptic.lisp.
-
- Feb 10, 2011
-
-
Raymond Toy authored
-
- Oct 05, 2008
-
-
Raymond Toy authored
functions or QD-REAL functions. They don't handle all the cases. If we're going to make this CMUCL-specific, deftransforms would be much easier and much better.
-
- Jul 31, 2008
-
-
Raymond Toy authored
appropriate CL function or QD-REAL function so we don't have to do CLOS dispatch, if the types are known at compile-time.
-
- Jul 18, 2008
-
-
Raymond Toy authored
-
- Oct 16, 2007
-
-
Raymond Toy authored
-
- Oct 15, 2007
-
-
Raymond Toy authored
OCTI instead of QDI. o Rename OCT package to NET.COMMON-LISP.OCT, with a nickname of OCT o Remove nickname of QD. (Conflicts with other packages dealing with quad-doubles.) o Update all uses of QDI: to OCTI: qd-fun.lisp: o Add REM-PI/2 to do a simpler computation if the arg is small enough. Otherwise, use the accurate but expensive rem operation. o Renamed ACCURATE-SIN-QD to SIN-QD, etc. o Update SIN-QD etc to use REM-PI/2.
-
- Oct 13, 2007
-
-
Raymond Toy authored
-
- Oct 10, 2007
-
-
Raymond Toy authored
o Add RATIONAL-TO-QD, a simple, fast and accurate method to convert rationals to quad-doubles. (From Richard Fateman.) o Use RATIONAL-TO-QD to create a quad-float qd-methods.lisp: o Use RATIONAL-TO-QD to create a quad-float from a bignum and ratio. qd-package.lisp: o Export RATIONAL-TO-QD
-
- Sep 24, 2007
-
-
Raymond Toy authored
denominator is 1, skip the qd-real division.
-
- Sep 20, 2007
-
-
Raymond Toy authored
Haible. qd-package.lisp: o Shadow RATIONALIZE qd-methods.lisp: o Add RATIONALIZE methods for CL:REAL's and QD-REAL's..
-
- Sep 19, 2007
-
-
Raymond Toy authored
doubles and then converting the qd-real. Convert the numerator and denominator to qd-real, and the divide. (This should be done better.) qd-class.lisp: o Change method to work on floats, instead of reals. qd-methods.lisp: o Add method to handle rationals.
-
- Sep 18, 2007
-
-
Raymond Toy authored
qd-package.lisp: o Appropriately shadow and export RATIONAL. o Need to export WITH-QD-PARTS from QDI. qd-methods.lisp: o Define methods for RATIONAL for reals and qd-reals. qd-complex.lisp: o Use CL:RATIONAL as appropriate for the CL rational type.
-
- Sep 16, 2007
-
-
Raymond Toy authored
-
- Sep 12, 2007
-
-
Raymond Toy authored
o Rearrange some exports so the CMU ones are all grouped together. o Export new constants pi/2, pi/4, 2pi, and log2. o Export the qd-real and qd-complex types. qd-methods.lisp: o Define new constants for pi/2, pi/4, 2pi, and log2. o Update some of the macrolets to work with a modern-mode lisp, like Allegro. qd-complex.lisp: o Use the new constants as needed.
-
- Aug 31, 2007
-
-
Raymond Toy authored
o Oops. Forgot to rename the defgenerics. qd-complex.lisp: o QLOG no longer exists. Use LOG. qd-methods.lisp: o QLOG no longer exists. Use LOG.
-
Raymond Toy authored
-
Raymond Toy authored
functions as methods directly.
-
- Aug 29, 2007
-
-
Raymond Toy authored
-
Raymond Toy authored
-
Raymond Toy authored
o Shadow FLOAT-DIGITS qd-methods.lisp: o Add FLOAT-DIGITS method.
-
- Aug 27, 2007
-
-
Raymond Toy authored
-