This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home.

Ticket 345: Should 0.0 and -0.0 be distinct in the sense of EQV?

2012-10-09 13:44:43
WG1 - Core
cowan
major
cowan
fixed
source
closed
2012-02-21 02:38:06
defect

Currently, the draft report implies that 0.0 and -0.0 must be the same in the sense of eqv?. Options: status quo, change to "must be different", change to "may be different".

Of course, "must be different" would only apply when the implementation actually provides negative zero.

statusnewdecided

The WG voted to make `(eqv? 0.0 -0.0) explicitly unspecified.

owneralexshinncowan
statusdecidedwriting
resolutionfixed
statuswritingclosed

This was overridden by later decisions: 0.0 and -0.0 are now distinct in the sense of eqv? provided the implementation uses IEEE 754.