cpow, cpowf, or cpowl Subroutine

Purpose

Computes the complex power.

Syntax

#include <complex.h>

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

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

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

Description

The cpow, cpowf, and cpowl subroutines compute the complex power function xy , with a branch cut for the first parameter along the negative real axis.

Parameters

Item Description
x Specifies the base value.
y Specifies the power the base value is raised to.

Return Values

The cpow, cpowf, and cpowl subroutines return the complex power function value.