Determine whether a floating-point number is normal
#include <math.h> #define isnormal( x ) ...
The isnormal() macro determines whether the given floating-point number is normal (i.e., neither zero, subnormal, infinite, nor NaN).
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |