real class : IsPositiveInfinity() method
Description
Gets a value that indicates whether this instance value evaluates to positive-infinity.
Syntax
realInstance.IsPositiveInfinity()
Arguments
None
Return value
Class | Description |
bool | A value that indicates whether this instance value evaluates to positive-infinity. |
Sample code
//anyReal is a instance of real type.
bool infinity = anyReal.IsPositiveInfinity();
Notes
It's a wrapper of the System.Double.IsPositiveInfinity(Double).
Returns true if instance value evaluates to positive-infinity; otherwise, returns false.