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

Table of contents


NAME

isqnanf, isqnan, isqnanl, isqnanw, isqnanq, isqnanll, isqnandf, isqnand, isqnandl, isqnandll - test for quiet NaN

SYNOPSIS

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

#include <mathcw.h>

extern int isqnanf (float x);

extern int isqnan (double x);

extern int isqnanl (long double x);

extern int isqnanw (__float80 x);

extern int isqnanq (__float128 x);

extern int isqnanll (long_long_double x);

extern int isqnandf (decimal_float x);

extern int isqnand (decimal_double x);

extern int isqnandl (decimal_long_double x);

extern int isqnandll (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 quiet NaN.

RETURN VALUES

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

On systems that lack support for both quiet and signaling NaNs, such as older versions of the Intel IA-32 architecture, and the Java Virtual Machine, this function returns 1 for any NaN.


ERRORS

None.

SEE ALSO

isnan(3CW), issnan(3CW), nan(3CW), qnan(3CW), snan(3CW).