Built-in functions: float_infn()

The function float_infn() returns a special floating point value called Negative Infinity (-INF).

Declaration

float float_infn()

Discussion

The function float_infn() returns a special constant value which represents a negative infinity floating point operand. Such value can result from mathematical operations performed with very large arguments like the power of a number calculation. The value returned by the float_infn() function can be used to initialize variables.

var float v1 = float_infn(); // v1 = -INF var bool b1 = v1.isinfn; // b1 = true

See also the float instant properties isinfn and isinf.