OEIsNaN

bool OEIsNaN(float f)
bool OEIsNaN(double d)

Returns true if the number passed is one of the following non-real numbers: signaling NaN, quiet NaN, negative infinity, or positive infinity.

See also

The reverse of OEIsNaN is OEIsNormalNum.