Summary
Faster check for NaN ( faster than double.IsNaN() )
IEEE 754 : If the argument is any value in the range 0x7ff0000000000001L through 0x7fffffffffffffffL
or in the range 0xfff0000000000001L through 0xffffffffffffffffL, the result will be NaN.
- Namespace
- MahApps
.Metro .Controls - Containing Type
- Utils
Syntax
public static bool IsNaN(double value)
Parameters
Name | Type | Description |
---|---|---|
value | double | Value to check |
Return Value
Type | Description |
---|---|
bool |