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

Table of contents


NAME

cxipowf, cxipow, cxipowl, cxipoww, cxipowq, cxipowll, cxipowdf, cxipowd, cxipowdl, cxipowdll - complex integer-power function with real arithmetic

SYNOPSIS

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

#include <mathcw.h>

#include <cxcw.h>

extern void cxipowf (cx_float result, cx_float x, int n);

extern void cxipow (cx_double result, cx_double x, int n);

extern void cxipowl (cx_long double result, cx_long double x, int n);

extern void cxipoww (cx_float80 result, cx___float80 x, int n);

extern void cxipowq (cx_float128 result, cx___float128 x, int n);

extern void cxipowll (cx_long_long_double result, cx_long_long_double x, int n);

extern void cxipowdf (cx_decimal_float result, cx_decimal_float x, int n);

extern void cxipowd (cx_decimal_double result, cx_decimal_double x, int n);

extern void cxipowdl (cx_decimal_long_double result, cx_decimal_long_double x, int n);

extern void cxipowdll (cx_decimal_long_long_double result, cx_decimal_long_long_double 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

cxexp(3CW), cxexpm1(3CW), cxlog(3CW), cxlog1p(3CW), cxpow(3CW), ipow(3CW), pow(3CW).