Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
29f3202b731185d993a399f04d2f3e3f78db5a81
/
.
/
src
/
complex
/
cpow.c
blob: f863588fe7881dc9eeda32c620d2cc3cad889757 [
file
] [
log
] [
blame
]
#include
"libm.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
));
}