iconv: fix missing bounds checking for shift_jis decoding
[musl.git] / src / complex / cpow.c
blob1137d3911724ced602aceb54cc1b7fff2ee5badb
1 #include "complex_impl.h"
3 /* pow(z, c) = exp(c log(z)), See C99 G.6.4.1 */
5 double complex cpow(double complex z, double complex c)
7 return cexp(c * clog(z));