[r6rs-discuss] [Formal] Formal Comment: NaN should be considered a number, not a real

John Cowan cowan at ccil.org
Sun Jun 24 15:06:32 EDT 2007


Aubrey Jaffer scripsit:

> SCM on i686 uses IEEE-754 64-bit floats and it returns NaN:
> 
>  (- (+ 1e308+1i 1e308+1i) (+ 1e308+0.5i 1e308+0.5i))  ==>  0/0

Okay, you made it do so.  What of it?

> Where in IEEE-754 does it specify how to compute complex addition?

Why do you ask me this rhetorical question?

-- 
"The serene chaos that is Courage, and the phenomenon   cowan at ccil.org
of Unopened Consciousness have been known to the        John Cowan
Great World eons longer than Extaboulism."
"Why is that?" the woman inquired.
"Because I just made that word up", the Master said wisely.
        --Kehlog Albran, The Profit             http://www.ccil.org/~cowan



More information about the r6rs-discuss mailing list