Sign in
cobalt
/
cobalt
/
07081467c3d00b04a6a1162e0566a5a8b9cfe2d5
/
.
/
third_party
/
musl
/
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
));
}