How to test if float is NaN?
clayasaurus
clayasaurus at gmail.com
Tue May 16 19:28:49 PDT 2006
How do you test if float is Nan? == and is doesn't seem to work.
float num;
if (num ==/is float.nan)
{
// true
}
else
{
// false
}
?
More information about the Digitalmars-d-learn
mailing list