Instant properties: isinfn
The instant property isinfn verifies the Negative Infinity (-INF) status of a float operand.
Declaration
bool float.isinfn
Discussion
The read access to this property results in a boolean value false or true depending on whether the operand in context of which the property is evaluated does contain a valid floating point value or the Negative Infinity value. Such value can result from mathematical operations performed with very large arguments like the power of a number calculation. Please note, this property is read-only. The write access to this property is not allowed. For example:
var float v1 = math_pow( -10.0, 9999 ); // v1 = -INF var bool b1 = v1.isinfn; // b1 = true
See also the built-in function float_infn().