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

From: John Cowan <cowan>
Date: Tue, 26 Jun 2007 23:00:14 -0400

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
Received on Tue Jun 26 2007 - 23:00:14 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC