 | NumericIsNaN Method (Double) |
Returns a value indicating whether the specified number is
NaN.
Namespace: DigitalRune.MathematicsAssembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntaxpublic static bool IsNaN(
double value
)
Public Shared Function IsNaN (
value As Double
) As Boolean
public:
static bool IsNaN(
double value
)
static member IsNaN :
value : float -> bool
Parameters
- value
- Type: SystemDouble
A double-precision floating-point number.
Return Value
Type:
Boolean if
value evaluates to
NaN;
otherwise,
.
Remarks
The standard CLR
IsNaN(Double) function is slower than this wrapper, so please
make sure to use this
IsNaN(Double) in performance sensitive code.
See Also