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