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 151: Extend `finite?` and `nan?` to non-real values

2012-10-05 12:09:44
WG1 - Core
cowan
major
cowan
fixed
source
closed
2011-03-17 03:15:11
defect

R6RS specifies the domain of finite? and nan? as the real numbers only. I propose that finite? return #t on a non-real value iff both the real part and the imaginary part are finite and not +nan.0, and that nan? return #t on a non-real value iff either the real or the imaginary part is +nan.0.

resolution
statusnewdecided

We voted to accept John Cowan's proposal.

owneralexshinncowan
statusdecidedwriting
resolutionfixed
statuswritingclosed