- Dec 05, 2011
-
-
Raymond Toy authored
-
- Mar 08, 2011
-
-
Raymond Toy authored
qd-reader.lisp: o New file containing #Q reader functions. o Create a new readtable containing our reader functions so we don't destructively modify the default *readtable*. oct.asd: o Add qd-reader.lisp. qd-complex.lisp: qd-elliptic.lisp: qd-format.lisp: o Set the *readtable* to *oct-readtable* before compiling these files.
-
- Oct 13, 2007
-
-
Raymond Toy authored
-
- 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 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
functions as methods directly.
-
- Aug 30, 2007
-
-
Raymond Toy authored
four basic arithmetic operations.
-
- Aug 28, 2007
-
-
Raymond Toy authored
o Add ADD1 and SUB1 methods so we can use 1+ and 1- on quad-doubles. o Add INCF and DECF macros to support quad-doubles. qd-package.lisp: o Forgot to shadow REALP, COMPLEXP, and NUMBERP, previously. o Shadow and export INCF and DECF.
-
Raymond Toy authored
-
Raymond Toy authored
o Shadow REALP, COMPLEXP, and NUMBERP qd-complex.lisp: o Extend REALP, COMPLEXP, and NUMBERP to recognize QD-REAL and QD-COMPLEX types.
-
- Aug 27, 2007
-
-
Raymond Toy authored
-
- Aug 26, 2007
-
-
Raymond Toy authored
o Oops. Move COERCE to qd-complex.lisp because we use the #q reader macro. (This needs to be reorganized better.) o Add RANDOM methods so we can generate quad-double random numbers. qd-package.lisp: o Shadow RANDOM so we can add our own RANDOM to generate quad-doubles. qd-complex.lisp: o COERCE moved here.
-
- Aug 25, 2007
-
-
Raymond Toy authored
-
- Aug 23, 2007
-
-
toy authored
-
toy authored
o Moved some methods from qd-methods.lisp to here. o Was missing TWO-ARG-+ for qd-complex and qd-real (and vice versa) o Fixed mistake in TWO-ARG-- (QD-COMPLEX REAL) o Fixed mistake in TWO-ARG-- (QD-COMPLEX CL:COMPLEX) o Was missing TWO-ARG-- (QD_COMPLEX QD-REAL) and vice versa. o Was missing TWO-ARG-/ for (QD-REAL QD-COMPLEX) qd-methods.lisp: o Moved some methods from here to qd-methods.lisp o Reimplement QFLOAT (RATIO QD-REAL) to use internal functions instead of calling TWO-ARG-/ and QFLOAT o QABS (QD-COMPLEX) was returning the wrong thing.
-
- Aug 22, 2007
-
-
toy authored
compute #.(/ 1 (sqrt #q2.0q0)).
-
- Jun 02, 2007
-
-
toy authored
o Remove QDI package qualifiers from exported functions.
-
- May 30, 2007
-
-
toy authored
signalling an overflow. Use a different implementation. o Remove call to ext:with-float-traps-masked, which is CMUCL-specific, and not needed.
-
- May 25, 2007
-
-
toy authored
known to be qd-real or qd-complex already. o In QD-COMPLEX-ATANH, revert the code that handles real args on the branch cuts. This isn't needed anymore because the code was correct for z > 1 and calling qd-complex-atanh with (complex z -0) produces the correct branch.
-
toy authored
- The previous fix for asin(-2) being wrong actually broke the case for asin(2). Revert that. - The issue was that in our explicit handling of the atan(y/0) case we didn't take into account the sign y and 0. Fix that.
-
toy authored
-
- May 24, 2007
-
-
toy authored
-
toy authored
-
toy authored
-
toy authored
by signed zero right. Hence add careful-mul to make sure the result has the correct sign. Only needed in two places here.
-
toy authored
define a new REALP that does? o QD-COMPLEX-ATANH has problems if the imaginary part is pi/2 + 2*k*pi because tan(pi/2) ends up signaling a division-by-zero error. Handle this case explicitly by assuming any errors from computing tan are because we're dividing-by-zero. o Declaration for QD-COMPLEX-TAN arg was wrong. o For QATAN with a complex-valued first arg, check to make sure the second arg is not given. That's not allowed by CL.
-
- May 23, 2007
-
-
toy authored
o QZEROP needs to work with CL number type. o Add support for FROUND and SIGNUM.
-
toy authored
-
toy authored
values for arguments on the branch cut.
-
toy authored
-
toy authored
qd-real o Add support for qd-complex for qexp and qexpt.
-
toy authored
o Add method for qatan for a qd-complex arg.
-
- May 22, 2007
- May 21, 2007