cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ] #include <mathcw.h> extern int iscxinff (cx_float z); extern int iscxinf (cx_double z); extern int iscxinfl (cx_long double z); extern int iscxinfw (cx_float80 z); extern int iscxinfq (cx_float128 z); extern int iscxinfll (cx_long_long_double z); extern int iscxinfdf (cx_decimal_float z); extern int iscxinfd (cx_decimal_double z); extern int iscxinfdl (cx_decimal_long_double z); extern int iscxinfdll (cx_decimal_long_long_double z);
NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.
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.