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