Click or drag to resize
DigitalRuneNumericIsNaN Method (Single)
Returns a value indicating whether the specified number is NaN.

Namespace: DigitalRune.Mathematics
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public static bool IsNaN(
	float value
)

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