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

Table of contents


NAME

cipowf, cipow, cipowl, cipoww, cipowq, cipowll, cipowdf, cipowd, cipowdl, cipowdll - complex integer-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 cipowf (float complex x, int n);

extern double complex cipow (double complex x, int n);

extern long double complex cipowl (long double complex x, int n);

extern __float80 complex cipoww (__float80 complex x, int n);

extern __float128 complex cipowq (__float128 complex x, int n);

extern long_long_double complex cipowll (long_long_double complex x, int n);

extern decimal_float complex cipowdf (decimal_float complex x, int n);

extern decimal_double complex cipowd (decimal_double complex x, int n);

extern decimal_long_double complex cipowdl (decimal_long_double complex x, int n);

extern decimal_long_long_double complex cipowdll (decimal_long_long_double complex x, int n);

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 integer power n.

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), clog(3CW), clog1p(3CW), cpow(3CW), ipow(3CW), pow(3CW).