[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: reading NaNs
Aubrey Jaffer wrote:
| Date: Mon, 24 Oct 2005 03:25:09 -0500
| From: Alan Watson <a.watson@xxxxxxxxxxxxxxxx>
| NaNs are atoms -- they have no context or stucture, just a single
In an implementation which boxes flonums, NaNs aren't a single value;
EQ? and EQV? are *not* guaranteed to return #t given two NaNs.
eq? is not guaranteed to return #t given two equal flonums
eqv? *is* guaranteed to return #t given two equal flonums.
NaNs should be the same: two NaNs that have the same bit-pattern
and size must compare as eqv? but not necessarily eq?.