Szerkesztés

Megosztás a következőn keresztül:


nfloat.IsNaN(nfloat) Method

Definition

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.

Applies to