Double.IsNegativeInfinity

Syntax

IsNegativeInfinity(Value: Double): Boolean;

Parameters

Value - checked real value.

Description

The IsNegativeInfinity method checks if the variable value is equal to negative infinity. If the variable value is equivalent to any, the method returns True, otherwise it returns False.

Example

Sub Main;

Var

B: Boolean;

D: Double;

Begin

D := Double.NegativeInfinity ;

B := Double.IsNegativeInfinity(d);

End Sub Main;

After executing the example the "B" variable will contain 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