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

Table of contents


NAME

iscinff, iscinf, iscinfl, iscinfw, iscinfq, iscinfll, iscinfdf, iscinfd, iscinfdl, iscinfdll - test for complex infinity

SYNOPSIS

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

#include <mathcw.h>

extern int iscinff (float z);

extern int iscinf (double z);

extern int iscinfl (long double z);

extern int iscinfw (__float80 z);

extern int iscinfq (__float128 z);

extern int iscinfll (long_long_double z);

extern int iscinfdf (decimal_float z);

extern int iscinfd (decimal_double z);

extern int iscinfdl (decimal_long_double z);

extern int iscinfdll (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 either the real or the imaginary component of the argument is +Infinity or -Infinity.

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.


RETURN VALUES

Return 1 if the argument is +Infinity or -Infinity, and 0 otherwise.

ERRORS

None.

SEE ALSO

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