CTOCX 3CW "14 August 2009" "mathcw-1.00"

Table of contents


NAME

ctocxf, ctocx, ctocxl, ctocxw, ctocxq, ctocxll, ctocxdf, ctocxd, ctocxdl, ctocxdll - convert complex to complex-as-real

SYNOPSIS

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.


DESCRIPTION

Convert the complex value z to complex-as-real.

To avoid an external function call, this operation may also be invoked with an inline macro: CTOCX_(result,z).


RETURN VALUES

Return the complex-as-real conversion in the result argument.

ERRORS

None.

SEE ALSO

cxtoc(3CW).