Returns a value that indicates whether the specified value is not a number (float.NaN).
true if f evaluates to not a number (float.NaN); otherwise, false.
Floating-point operations return float.NaN to signal that that result of the operation is undefined. For example, dividing 0.0 by 0.0 results in float.NaN.
float.IsNaN(float) returns false if a float value is either float.PositiveInfinity or float.NegativeInfinity. To test for these values, use the float.IsInfinity(float), float.IsPositiveInfinity(float), and float.IsNegativeInfinity(float) methods.