CPOW 3CW "27 September 2009" "mathcw-1.00"

Table of contents


NAME

cpowf, cpow, cpowl, cpoww, cpowq, cpowll, cpowdf, cpowd, cpowdl, cpowdll - complex power function

SYNOPSIS

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

#include <mathcw.h>

#include <complexcw.h>

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

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

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

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

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

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

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

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

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

extern decimal_long_long_double complex cpowdll (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 value of complex x raised to the complex power y.

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


RETURN VALUES

Return the complex power.

ERRORS

Underflow, overflow, and invalid operation are possible.

SEE ALSO

cexp(3CW), cexpm1(3CW), cipow(3CW), clog(3CW), clog1p(3CW), ipow(3CW), pow(3CW).