ISNAN 3CW "09 March 2006" "mathcw-1.00"

Table of contents


NAME

isnanf, isnan, isnanl, isnanw, isnanq, isnanll, isnandf, isnand, isnandl, isnandll - test for NaN

SYNOPSIS

cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ]

#include <mathcw.h>

extern int isnanf (float x);

extern int isnan (double x);

extern int isnanl (long double x);

extern int isnanw (__float80 x);

extern int isnanq (__float128 x);

extern int isnanll (long_long_double x);

extern int isnandf (decimal_float x);

extern int isnand (decimal_double x);

extern int isnandl (decimal_long_double x);

extern int isnandll (decimal_long_long_double x);

NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.


DESCRIPTION

Determine whether the argument is a NaN (either quiet or signaling).

RETURN VALUES

Return 1 if the argument is a NaN, and 0 otherwise.

ERRORS

None.

SEE ALSO

fpclassify(3CW), isfinite(3CW), isinf(3CW), isnormal(3CW), issubnormal(3CW).