DoubleDoubleIsNaN Method

Determines whether a double double value is not-a-number.

Definition

Namespace: Meta.Numerics.Extended
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static bool IsNaN(
	DoubleDouble x
)

Parameters

x  DoubleDouble
The value.

Return Value

Boolean
True 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