Skip to content
Snippets Groups Projects
Commit 335f876a authored by toy's avatar toy
Browse files

o Fix INTERVAL-RANGE-INFO some more. Put back the previous change

  (that we backed out) so (abs (the (double-float 0d0) x)) produces
  the correct result.
o Add a kludge to INTERVAL-RANGE-INFO to handle the case of an
  interval -0.0 to 0.0 specially.  INTERVAL-RANGE-INFO should return
  NIL instead of '- for this.
o The fixes to INTERVAL-RANGE-INFO tickle a bug in INTERVAL-SPLIT
  where we weren't correctly splitting the the interval [-0.0, 0d0]
  into 2 intervals correctly.  This was causing the compiler to loop
  forever deriving things.

This is all a bit kludgy.  Dealing with signed-zeroes is a pain.
parent 82f47e34
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