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