Available in all subroutines.

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


declare local var.f FLOAT;
set var.f = math.FLOAT_MIN; # minimum finite value
if (!math.is_subnormal(var.f)) {
log "not subnormal";
set var.f /= 2;
if (math.is_subnormal(var.f)) {
log "subnormal";

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.