Skip to content
Snippets Groups Projects
Commit b6137f53 authored by dtc's avatar dtc
Browse files

Patch from Raymond Toy for the :negative-zero-is-not-zero feature:

have make-numeric-type canonicalize the bounds so that a lower bound
of (-0.0) becomes 0.0 and an upper bound of (0.0) becomes -0.0.  Also
fixes the problem of (subtypep '(float (-0.0)) (float 0.0)), returning
nil when it should be T.  This is because (float (-0.0)) is
canonicalized to the identical (float 0.0).
parent 88eb14db
No related branches found
No related tags found
No related merge requests found
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