ISNAN(3) Library Functions Manual ISNAN(3)

isnantest for a NaN

#include <math.h>

int isnan(double x);

The isnan () function tests whether x is NaN.

On systems not supporting NaN values, always returns 0.

The isnan() function returns non-zero if x is NaN. Otherwise, 0 is returned.

No errors are defined.

None.

None.

None.

<math.h> .

February 1997 posix.fail