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