Available inall 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


Do you see an error in this page? Do you have an interesting use case, example or edge case people should know about? Share your knowledge and help people who are reading this page! (Comments are moderated; for support, please contact Fastly support)