INumberBase<TSelf>.IsInfinity(TSelf) Method
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);
C#
public static abstract bool IsInfinity(TSelf value);
static member IsInfinity : 'Self -> bool
Public Shared Function IsInfinity (value As TSelf) As Boolean
- value
- TSelf
The value to be checked.
true
if value
is infinite; otherwise, false
.
A return value of false
does not imply that IsFinite(TSelf) will return true
. NaN
is not finite or infinite.
Product | Versions |
---|---|
.NET | 7, 8, 9, 10 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: