cc [ flags ] -I/usr/local/include file(cx_s) -L/usr/local/lib -lmcw [ ... ] #include <mathcw.h> #include <cxcw.h> extern void cxipowf (cx_float result, cx_float x, int n); extern void cxipow (cx_double result, cx_double x, int n); extern void cxipowl (cx_long double result, cx_long double x, int n); extern void cxipoww (cx_float80 result, cx___float80 x, int n); extern void cxipowq (cx_float128 result, cx___float128 x, int n); extern void cxipowll (cx_long_long_double result, cx_long_long_double x, int n); extern void cxipowdf (cx_decimal_float result, cx_decimal_float x, int n); extern void cxipowd (cx_decimal_double result, cx_decimal_double x, int n); extern void cxipowdl (cx_decimal_long_double result, cx_decimal_long_double x, int n); extern void cxipowdll (cx_decimal_long_long_double result, cx_decimal_long_long_double x, int n);
NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.
When compiler support for complex types is lacking, consider using the cx family of functions instead.