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).