Skip to content
  • 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