Instant properties: isinfp

The instant property isinfp verifies the Positive Infinity (+INF) status of a float operand.

Declaration

bool float.isinfp

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 Positive 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.isinfp; // b1 = true

See also the built-in function float_infp().