Implementation status: to be implemented


#include <complex.h>

double complex cpow(double complex x, double complex y);
float complex cpowf(float complex x, float complex y);
long double complex cpowl(long double complex x, long double complex y);


The functions calculate the complex power function xy, with a branch cut for the first parameter along the negative real axis.

Return value

The functions return the complex power function xy.


No errors are defined.

Implementation tasks

  • Implement the functions: cpow(), cpowf() and cpowl(),