Double.IsPositiveInfinity

Syntax

IsPositiveInfinity(Value: Double): Boolean;

Parameters

Value. The checked real value.

Description

The IsPositiveInfinity method checks if the variable value is equal to positive infinity.

Comments

Available values:

Example

Sub UserProc;
Var
    B: Boolean;
    D: Double;
Begin
    D := Double.PositiveInfinity ;
    B := Double.IsPositiveInfinity(D);
End Sub UserProc;

After executing the example the "B" variable contains the attribute that determines whether the value of the "D" variable is equivalent to negative infinity, that is, to the value 1.#INF.

See also:

Double