math.is_infinite
Available inall subroutines.
Determines whether a floating point value is an infinity. See floating point classifications for more information.
Example
declare local var.f FLOAT;
set var.f = math.POS_INFINITY;set var.f -= 1; # +∞ - 1 produces +∞if (math.is_infinite(var.f)) { log "infinity";}