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

John Cowan cowan at ccil.org
Tue Jun 26 23:00:14 EDT 2007


Aubrey Jaffer scripsit:

> You claimed that the result is nan.0+1i.  It is not in at least one
> major Scheme implementation (and has been that way for a while).

Very well.  I claim that according to the standard method of adding
complex numbers, *not* specially hacked to check for NaNs, and combined
with IEEE float arithmetic, the result will be +nan.0+1i.

-- 
John Cowan    cowan at ccil.org    http://ccil.org/~cowan
Half the lies they tell about me are true.
        -- Tallulah Bankhead, American actress



More information about the r6rs-discuss mailing list