CDIV 3CW "21 March 2008" "mathcw-1.00"

Table of contents


NAME

cdivf, cdiv, cdivl, cdivw, cdivq, cdivll, cdivdf, cdivd, cdivdl, cdivdll - complex division function

SYNOPSIS

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

#include <mathcw.h>

#include <complexcw.h>

extern float complex cdivf (float complex x, float complex y);

extern double complex cdiv (double complex x, double complex y);

extern long double complex cdivl (long double complex x, long double complex y);

extern __float80 complex cdivw (__float80 complex x, __float80 complex y);

extern __float128 complex cdivq (__float128 complex x, __float128 complex y);

extern long_long_double complex cdivll (long_long_double complex x,
                                         long_long_double complex y);

extern decimal_float complex cdivdf (decimal_float complex x, decimal_float complex y);

extern decimal_double complex cdivd (decimal_double complex x, decimal_double complex y);

extern decimal_long_double complex cdivdl (decimal_long_double complex x,
                                            decimal_long_double complex y);

extern decimal_long_long_double complex cdivdll (decimal_long_long_double complex x,
                                                  decimal_long_long_double complex y);

NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.


DESCRIPTION

Compute the complex quotient of x and y.

When compiler support for complex types is lacking, consider using the cx family of functions instead.


RETURN VALUES

Return the quotient.

ERRORS

Underflow, overflow, and invalid operation are possible.

SEE ALSO

cabs(3CW), cadd(3CW), carg(3CW), ccopy(3CW), cimag(3CW), cmul(3CW), cneg(3CW), conj(3CW), cproj(3CW), creal(3CW), cset(3CW), csub(3CW).