Skip to content
Snippets Groups Projects
  1. May 24, 2007
  2. May 19, 2007
    • rtoy's avatar
      Trac ticket #10 · 51a50f19
      rtoy authored
      For large numbers we did not check for odd-valued results that needed
      to be rounded to even.
      51a50f19
  3. Mar 27, 2007
  4. Jan 18, 2007
  5. Aug 21, 2006
    • rtoy's avatar
      Some very basic support for signed zeroes for DOUBLE-DOUBLE-FLOAT. We · e14ba2a5
      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.
      e14ba2a5
  6. Jun 30, 2006
  7. Aug 25, 2005
    • rtoy's avatar
      o Fix a bug in %unary-ftruncate/single-float and · 8e58835f
      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.
      8e58835f
  8. Jun 18, 2004
    • rtoy's avatar
      o Fix a misplaced declaration in %unary-ftruncate/single-float · a71e3e77
      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.)
      a71e3e77
  9. Jun 09, 2004
  10. Jul 22, 2002
  11. May 08, 2002
  12. Mar 05, 2002
  13. Feb 25, 2002
  14. Jun 17, 2001
    • pw's avatar
      From Eric Marsden: · 8de4d134
      pw authored
      FLOAT-RADIX should signal an error if arg is not a FLOAT.
      8de4d134
  15. Mar 04, 2001
  16. May 22, 2000
  17. May 06, 2000
  18. Nov 19, 1999
  19. Nov 11, 1999
  20. Mar 21, 1998
  21. Feb 19, 1998
  22. Jun 26, 1997
  23. Mar 05, 1997
  24. Oct 31, 1994
  25. Oct 30, 1994
  26. Apr 06, 1994
  27. Feb 11, 1994
  28. May 07, 1993
  29. Jan 13, 1993
  30. Dec 10, 1992
  31. Feb 07, 1992
  32. Feb 08, 1991
  33. Dec 12, 1990
    • ram's avatar
      Added %UNARY-TRUNCATE-{SINGLE,DOUBLE}-FLOAT/FIXNUM functions, but then · eafdc708
      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.
      eafdc708
  34. Dec 06, 1990
  35. Dec 02, 1990
  36. Oct 14, 1990
  37. Oct 03, 1990
  38. Oct 01, 1990
Loading