ISCXNAN 3CW "28 December 2009" "mathcw-1.00"

Table of contents


NAME

iscxnanf, iscxnan, iscxnanl, iscxnanw, iscxnanq, iscxnanll, iscxnandf, iscxnand, iscxnandl, iscxnandll - test for complex NaN

SYNOPSIS

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

#include <mathcw.h>

extern int iscxnanf (cx_float z);

extern int iscxnan (cx_double z);

extern int iscxnanl (cx_long double z);

extern int iscxnanw (cx_float80 z);

extern int iscxnanq (cx_float128 z);

extern int iscxnanll (cx_long_long_double z);

extern int iscxnandf (cx_decimal_float z);

extern int iscxnand (cx_decimal_double z);

extern int iscxnandl (cx_decimal_long_double z);

extern int iscxnandll (cx_decimal_long_long_double z);

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).

The C99 Standard, Annex G.3, requires that a complex value is infinite if at least one component is Infinity, even if the other is a NaN. Thus, a complex number is a NaN if neither imaginary nor real components are Infinity, and at least one of them is a NaN.


RETURN VALUES

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

ERRORS

None.

SEE ALSO

fpclassify(3CW), iscinf(3CW), iscnan(3CW), iscxinf(3CW), isfinite(3CW), isinf(3CW), isnan(3CW), isnormal(3CW), issubnormal(3CW).