Synopsis
#include <math.h>
int isnan(floating-type x);
Description

isnan determines whether its argument value is a NaN. The determination is based on the type of the argument.

Portability

isnan confirms to ISO/IEC 9899:1999 (C99).