math.is_normal

BOOLmath.is_normalFLOATx

Available inall subroutines.

Determines whether a floating point value is normal. See floating point classifications for more information.

Example

# zeroes are not normals
if (!math.is_normal(0)) {
log "not a normal";
}