Result.f = Infinity()Description
Returns the special floating-point value representing positive infinity. Negative infinity can be calculated using "-Infinity()".
Returns the value representing infinity. The result is a float or double value depending on whether it is assigned to a float or double variable.
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.
Debug IsInfinity(Infinity() / 1000) ; will display 1