How to test if float is NaN?

Jarrett Billingsley kb3ctd2 at yahoo.com
Tue May 16 20:29:35 PDT 2006


"clayasaurus" <clayasaurus at gmail.com> wrote in message 
news:e4e1qd$jb6$1 at digitaldaemon.com...

> How do you test if float is Nan? == and is doesn't seem to work.

Try std.math.isnan(). 





More information about the Digitalmars-d-learn mailing list