Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns a value that indicates whether the specified value is not a number (NaN).
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public Shared Function IsNaN ( _
d As Double _
) As Boolean
public static bool IsNaN(
double d
)
public:
static bool IsNaN(
double d
)
static member IsNaN :
d:float -> bool
public static function IsNaN(
d : double
) : boolean
Parameters
- d
Type: System. . :: . .Double
A double-precision floating-point number.
Return Value
Type: System. . :: . .Boolean
true if d evaluates to NaN; otherwise, false.
Remarks
Floating-point operations return NaN to signal that that result of the operation is undefined. For example, dividing 0.0 by 0.0 results in NaN.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.