Tests for a normal value.
#include <math.h>
int isnormal (x)
real-floating x;
The isnormal macro determines whether its argument value is normal (neither zero, subnormal, infinite, nor NaN) or not. An argument represented in a format wider than its semantic type is converted to its semantic type. Determination is based on the type of the argument.
Item | Description |
---|---|
x | Specifies the value to be tested. |
The isnormal macro returns a nonzero value if its argument has a normal value.