Determines whether a double double value is not-a-number.
Namespace:
Meta.Numerics.Extended
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public static bool IsNaN(
DoubleDouble x
)
Public Shared Function IsNaN (
x As DoubleDouble
) As Boolean
public:
static bool IsNaN(
DoubleDouble x
)
static member IsNaN :
x : DoubleDouble -> bool
Parameters
- x
- Type: Meta.Numerics.ExtendedDoubleDouble
The value.
Return Value
Type:
BooleanTrue is
x is not-a-number, otherwise false.
Remarks By the floating point standard respect by Double and floating point types in
essentially all languages and frameworks, equality testing NaN always returns false. Therefore it is
necessary to have a specific method to test for not-a-number. IsNaN(Double) is that
method for Double, and this is that method for DoubleDouble.
See Also