math.is_normal

BOOLmath.is_normalFLOATx

Available in all 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";
}

User contributed notes

We welcome comments that add use cases, ideas, tips, and caveats. All comments will be moderated before publication. To post support questions, visit our support center and we'll find you the help you need.