isfinite

isfinite

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

登录查看完整内容