[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reading NaNs



 | Date: Mon, 24 Oct 2005 10:34:53 -0700
 | From: Per Bothner <per@xxxxxxxxxxx>
 | 
 | Aubrey Jaffer wrote:
 | > 
 | > 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?.

Thanks for the correction; it was my mistake.