Infinity()

Syntax

Result = Infinity()
Description
Returns the special floating point value representing positive infinity. Negative infinity can be calculated using "-Infinity()".

Infinity and negative infinity are special values. They behave in calculations in the way you would generally expect. For example dividing infinity by any positive number (except 0 or infinity) will result in infinity again. The IsInfinity() function can be used to check if a value represents positive or negative infinity.

Example:

  Debug IsInfinity(Infinity() / 1000) ; return 1

Supported OS

All

<- Exp() - Math Index - Int() ->