Testing for NaN

Gabriel Dos Reis gdr@integrable-solutions.net
23 Apr 2003 15:28:54 +0200


"Kent Karlsson" <kentk@md.chalmers.se> writes:

[...]

|             No-one seems to have come up with a really good use
| for *signalling* NaNs, but seems to be and inheritance from pre-IEEE
| floating point implementations ("invalid operands")...

I've seen a software (written in C) that used signalling NaN to tag
"unintialized data".  I think that was a case of "good use".

-- Gaby