isfinite
From cppreference.com
| Defined in header <math.h>
|
||
| #define isfinite(arg) /* implementation defined */ |
(since C99) | |
Determines if the given floating point number arg has finite value i.e. it is normal, subnormal or zero, but not infinite or NaN. The macro returns an integral value.
FLT_EVAL_METHOD is ignored: even if the argument is evaluated with more range and precision than its type, it is first converted to its semantic type, and the classification is based on that.
Parameters
| arg | - | floating point value |
Return value
Nonzero integral value if arg has finite value, 0 otherwise.