#include <math.h> int isnan(floating-type x);
isnan determines whether its argument value is a NaN. The determination is based on the type of the argument.
isnan confirms to ISO/IEC 9899:1999 (C99).