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 460: semantics of eqv?

2012-10-11 14:59:22
WG1 - Core
cowan
major
alexshinn
fixed
source
closed
2012-07-08 16:14:21
defect

Earlier we voted on #125, #229 and #345 separately without regard to the formal semantics of eqv? from a top level. We need to first decide what the definition of eqv? is, and consider if there should be any exception cases as a secondary effect.

Note the result of this ticket will also answer formal comment #423.

statusnewdecided

WG1 voted to adopt the same-bits equivalence:

(3.1) obj1 and obj2 are both exact numbers and are numerically equal (see `=`) (3.2) obj1 and obj2 are both inexact real numbers conforming to the IEEE 754-2008 standard, and they have the same radix, precision, maximum exponent, sign, exponent, and significand as described in IEEE 754-2008 (3.3) obj1 and obj2 are both inexact real numbers, are not implemented using IEEE 754-2008, and are numerically equal (see `=`) (3.4) obj1 and obj2 are both complex numbers whose real and imaginary parts are `eqv?`
owneralexshinncowan
statusdecidedwriting
resolutionfixed
statuswritingclosed