cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ] #include <mathcw.h> #include <cxcw.h> #include <complexcw.h> extern void ctocxf (cx_float result, float complex z); extern void ctocx (cx_double result, double complex z); extern void ctocxl (cx_long_double result, long double complex z); extern void ctocxw (cx_float80 result, __float80 complex z); extern void ctocxq (cx_float128 result, __float128 complex z); extern void ctocxll (cx_long_long_double result, long_long_double complex z); extern void ctocxdf (cx_decimal_float result, decimal_float complex z); extern void ctocxd (cx_decimal_double result, decimal_double complex z); extern void ctocxdl (cx_decimal_long_double result, decimal_long_double complex z); extern void ctocxdll (cx_decimal_long_long_double result, decimal_long_long_double complex z);
NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.
To avoid an external function call, this operation may also be invoked with an inline macro: CTOCX_(result,z).