How many NaNs do we now have?

David-Sarah Hopwood david.hopwood at
Wed Sep 3 23:14:23 PDT 2008

Sam Ruby wrote:
> On Mon, Aug 25, 2008 at 7:03 PM, Waldemar Horwat <waldemar at> wrote:
>> What should compareTotal do when you compare -NaN and NaN?
> Re: the subject line; NaN's have a payload that corresponds to the
> size of the mantissa.

No they don't; not in ECMAScript. -NaN is computationally indistinguishable
from NaN by ECMAScript code. There is no payload and no quiet/signalling

David-Sarah Hopwood

More information about the Es-discuss mailing list