nfloat.IsNaN(nfloat) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value that indicates whether the specified value is not a number (NaN).
public static bool IsNaN (nfloat f);
static member IsNaN : nfloat -> bool
Parameters
- f
- nfloat
An nfloat floating point number.
Returns
true if d
evaluates to NaN; otherwise, false.
Remarks
IsNaN(nfloat) returns false if a nfloat value is either PositiveInfinity or NegativeInfinity. To test for these values, use the IsInfinity(nfloat), IsPositiveInfinity(nfloat), and M:System.Double.IsNegativeInfinity(System.nfloat) methods.