int isnan(double __x)
The function isnan() returns 1 if the argument __x represents a "not-a-number" (NaN) object, otherwise 0.