repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
select: overhaul for time64
[musl.git]
/
src
/
complex
/
cpow.c
blob
1137d3911724ced602aceb54cc1b7fff2ee5badb
1
#include
"complex_impl.h"
2
3
/* pow(z, c) = exp(c log(z)), See C99 G.6.4.1 */
4
5
double complex
cpow
(
double complex
z
,
double complex
c
)
6
{
7
return
cexp
(
c
*
clog
(
z
));
8
}