- Feb 05, 2010
-
-
rtoy authored
everywhere except for x87 builds since there is a possible roundoff issue due to the 80-bit registers for x87. This is some 2-3 times faster than the existing fround function. code/float.lisp: o Implementations of %unary-fround/single-float, %unary-fround/double-float, and %unary-fround. Declare the first two as inline too. compiler/float-tran.lisp: o Tell compiler about %unary-fround. o Transform fround to a call to %unary-fround. o Transform %unary-fround to special versions for single and double float arguments.
-
- Dec 22, 2008
-
-
rtoy authored
to code/float.lisp because we need this early in the build process to handle float types. This might cuase problems with bootstrapping double-double floats!
-
- Oct 24, 2008
-
-
rtoy authored
o Forgot to implement FLOAT-PRECISION for double-doubles. general-info/release-19f.txt: o Document it.
-
- Apr 15, 2008
- Feb 13, 2008
-
-
rtoy authored
on the maxima mailing list.)
-
- Oct 10, 2007
-
-
rtoy authored
double-double-floats. (From Richard Fateman.) o Use that in FLOAT-RATIO for convertnig ratios to double-double-floats. o Remove old double-double-float support from FLOAT-RATIO. o Split FLOAT-RATIO in two, one supporting single/double floats, and one for double-double-floats. With these changes, I think we now have print/read consistency for double-double-float numbers.
-
- May 24, 2007
-
-
rtoy authored
-
- May 19, 2007
-
-
rtoy authored
For large numbers we did not check for odd-valued results that needed to be rounded to even.
-
- Mar 27, 2007
-
-
rtoy authored
correctly if the two parts had different signs, which does happen.
-
- Jan 18, 2007
-
-
rtoy authored
sign. This caused (FLOAT -1/9 1w0) to return -0.11111111111111109877529972638715w0 instead of 0.111111111111111111111111111111111w0.
-
- Aug 21, 2006
-
-
rtoy authored
can now read and print -0w0. code/float.lisp: o Adjust float-sign so that we get the correct sign when double-double-floats are used. o Adjust FLOAT-RATIO to call %MAKE-DOUBLE-DOUBLE-FLOAT so that we preserve the sign of the number. This is safe because the components are known to be properly scaled. compiler/float-tran.lisp: o Use %MAKE-DOUBLE-DOUBLE-FLOAT in %DOUBLE-DOUBLE-FLOAT to preserve the sign of the original float. This is safe because the components are known to be properly scaled. o Add a FLOAT-SIGN deftransform to handle DOUBLE-DOUBLE-FLOAT.
-
- Jun 30, 2006
-
-
rtoy authored
The merge is from the tag "double-double-irrat-end". The double-double branch is now obsolete. The code should build without double-double support (tested on sparc) as well as build with double-double support (tested also on sparc).
-
- Aug 25, 2005
-
-
rtoy authored
%unary-ftruncate/double-float where the test for infinity and NaN was wrong. o When given NaN, these functions should return a quiet (non-signaling) NaN instead of returning the signaling NaN. This fixes the FRUNCATE/FFLOOR/FCEILING tests in ieeefp-tests.
-
- Jun 18, 2004
-
-
rtoy authored
o Update %unary-ftruncate and the corresponding deftransform because it was not properly returning the correct sign for signed zeroes. If the number was in a good range, we used truncate, which loses the sign of zero. (Should we have leave it in and add an explicit check for a zero result and adjust the sign appropriately? That would allow us to use the fast builtin instructions at the expense of a test for zero and a fix.)
-
- Jun 09, 2004
-
-
rtoy authored
returned appropriately instead of +0.0. This is to conform to IEEE754.
-
- Jul 22, 2002
-
-
toy authored
float.
-
- May 08, 2002
-
-
toy authored
%UNARY-FTRUNCATE/DOUBLE-FLOAT as maybe-inline so that they can be inlined by the user if desired.
-
- Mar 05, 2002
-
-
toy authored
0.5 <= x < 1. (Stupid typo) o Clean up %unary-ftruncate/single-float and %unary-ftruncate/double-float so the code looks identical except for the case where real work is needed. (Macroize this so the code is identical?)
-
- Feb 25, 2002
-
-
toy authored
instead of calling the generic TRUNCATE. Make FFLOOR, FCEILING, and FROUND use FTRUNCATE so they benefit too.
-
- Jun 17, 2001
-
-
pw authored
FLOAT-RADIX should signal an error if arg is not a FLOAT.
-
- Mar 04, 2001
-
-
pw authored
-
- May 22, 2000
-
-
dtc authored
on an algorithm from Bruno Haible.
-
- May 06, 2000
-
-
dtc authored
double-float-epsilon and double-float-negative-epsilon to overcome a rounding problem and fix their definitions as per the CLHS.
-
- Nov 19, 1999
-
-
dtc authored
found by Akira Kurihara. The bug was caused by (- xx (float a x)) eventually becoming zero; an extra test has been added to exit the do loop when this is true. From Raymond Toy.
-
- Nov 11, 1999
-
-
dtc authored
-
- Mar 21, 1998
-
-
dtc authored
-
- Feb 19, 1998
-
-
dtc authored
of trapping NaN.
-
- Jun 26, 1997
-
-
pw authored
-
- Mar 05, 1997
-
-
dtc authored
most-negative-double-float were incorrectly defined.
-
- Oct 31, 1994
-
-
ram authored
-
- Oct 30, 1994
-
-
ram authored
-
- Apr 06, 1994
-
-
hallgren authored
-
- Feb 11, 1994
-
-
cvs2git authored
-
- May 07, 1993
-
-
ram authored
-
- Jan 13, 1993
-
-
cvs2git authored
-
- Dec 10, 1992
-
-
ram authored
-
- Feb 07, 1992
-
-
ram authored
-
- Feb 08, 1991
-
-
ram authored
-
- Dec 12, 1990
-
-
ram authored
commented them out, cause I decided to do this by frobbing the rounding modes. They might be useful someday. Added %UNARY-ROUND to handle the 1-arg case of round, making it use the new round primitive in the fixnum result case. Fixed %UNARY-TRUNCATE to use open bounds when deciding whether the result is a fixnum, and also to only return one value in the ratio case.
-