#define isnan(x) (sizeof(x) == sizeof(float) ? __float32_isnan(x) : __float64_isnan(x))
isnan determines whether x is a NaN. The determination is based on the type of the argument.