Next: Denormalized Floats, Previous: IEEE Special Values, Up: Floats [Contents][Index]
The IEEE float format provides for distinct positive and negative zeros. To test the sign on zero (or any other float), use the Common Lisp float-sign function. Negative zero prints as -0.0f0 or -0.0d0.
float-sign
-0.0f0
-0.0d0