INumberBase<TSelf>.IsInfinity(TSelf) 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.
Determines if a value is infinite.
public:
static bool IsInfinity(TSelf value);
public static abstract bool IsInfinity(TSelf value);
static member IsInfinity : 'Self -> bool
Public Shared Function IsInfinity (value As TSelf) As Boolean
Parameters
- value
- TSelf
The value to be checked.
Returns
true if value is infinite; otherwise, false.
Remarks
A return value of false does not imply that IsFinite(TSelf) will return true. NaN is not finite or infinite.