macro | isfinite(x) |
---|
function | bool isfinite (float x);bool isfinite (double x);bool isfinite (long double x); |
---|
int
value. The type of x shall be float
, double
or long double
.bool
value.true
) if x is finite; and zero (false
) otherwise.
|
|
isfinite(0.0) : 1 isfinite(1.0/0.0) : 0 isfinite(-1.0/0.0) : 0 isfinite(sqrt(-1.0)): 0 |