nfloat.IsInfinity(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 indicating whether the specified number evaluates to negative or positive infinity.
public static bool IsInfinity (nfloat f);
static member IsInfinity : nfloat -> bool
Parameters
- f
- nfloat
An nfloat floating pointer number.
Returns
true if d
evaluates to PositiveInfinity or NegativeInfinity; otherwise, false.
Remarks
Floating-point operations return PositiveInfinity or NegativeInfinity to signal an overflow condition.