Mono Class Library: System.Double Overview | Members

System.Double.NaN Field

Represents an undefined result of operations involving double . [Edit]

Value: NaN

public const double NaN

Remarks

Not-a-Number (NaN) values are returned when the result of a double operation is undefined.

A NaN value is not equal to any other value, including another NaN value.

The value of this field is obtained by dividing double zero by zero.

Note: double.NaN represents one of many possible NaN values. To test whether a double value is a NaN, use the double.IsNaN(double) method.

[Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0