| NumericIsNaN Method (Single) |
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)
Syntax public static bool IsNaN(
float value
)
Public Shared Function IsNaN (
value As Single
) As Boolean
public:
static bool IsNaN(
float value
)
static member IsNaN :
value : float32 -> bool
Parameters
- value
- Type: SystemSingle
A single-precision floating-point number.
Return Value
Type:
Boolean if
value evaluates to
NaN;
otherwise,
.
Remarks
The standard CLR
IsNaN(Single) function is slower than this wrapper, so please
make sure to use this
IsNaN(Single) in performance sensitive code.
See Also