Returns whether the specified double-precision floating-point number is a
Not-A-Number (NaN) value.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static bool IsNaN(
double x
)
Public Shared Function IsNaN (
x As Double
) As Boolean
public:
static bool IsNaN(
double x
)
static member IsNaN :
x : float -> bool
Parameters
- x
- Type: SystemDouble
A double-precision floating-point number.
Return Value
Type:
Boolean if
x is a NaN; otherwise
.
This method is significantly faster than the IsNaN(Double) method
in many situations.
Reference