checking double.nan

monarch_dodra monarchdodra at gmail.com
Fri Jan 4 08:10:12 PST 2013


All in the title. I searched but couldn't find.

std.math.isNaN only works for floats. Is it safe to cast the 
double to float?

Why don't we have "isNaN(double)" (this is an honest question, to 
learn, not requesting anything... yet).


More information about the Digitalmars-d-learn mailing list