Skip to content
Snippets Groups Projects
Commit e14ba2a5 authored by rtoy's avatar rtoy
Browse files

Some very basic support for signed zeroes for DOUBLE-DOUBLE-FLOAT. We

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.
parent ff65e1c0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment