Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
2d72b58070bc43a727b580a46746e87215a60a33
/
.
/
src
/
complex
/
cpow.c
blob: 1137d3911724ced602aceb54cc1b7fff2ee5badb [
file
] [
log
] [
blame
]
#include
"complex_impl.h"
/* pow(z, c) = exp(c log(z)), See C99 G.6.4.1 */
double
complex cpow
(
double
complex z
,
double
complex c
)
{
return
cexp
(
c
*
clog
(
z
));
}