NAME
cpow(), cpowf() — complex power functions
SYNOPSIS
#include <complex.h>
double complex cpow(double complex x, double complex y);
float complex cpowf(float complex x, float complex y);
DESCRIPTION
These functions are available only for IA-64.
cpow()
returns
xy.
There is a branch cut for the first parameter along the
negative real axis.
cpowf()
is a
float
complex
version of
cpow();
it takes
float
complex
arguments and returns a
float
complex
result.
USAGE
To use these functions,
compile with the default
-Ae
option.
Make sure your program includes
<complex.h>.
Link in the math library by specifying
-lm
on the compiler or linker command line.
RETURN VALUES
cpow(x,y)
returns the value calculated by cexp(y*clog(x)), and raises the exceptions from
that calculation. (The intermediate calculations may be
done to greater precision and range.)
ERRORS
No errors are defined.
STANDARDS CONFORMANCE
cpow(),
cpowf():
ISO/IEC C99 (including Annex G,
IEC 60559-compatible complex arithmetic)