Upravit

Sdílet prostřednictvím


nfloat.IsInfinity(nfloat) Method

Definition

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.

Applies to