| |||
| Home > Floating‑point Support > The math library, mathlib > Determine if a number is normal (isnormal) | |||
This macro determines if its argument value is normal.
int isnormal(real-floating x);
where real-floating can be type float, double, or long double.
Here, isnormal returns:
nonzero if x is
a normal
0 if x is
infinite, a NaN, subnormal, or zero.
It does not cause any errors or exceptions.