first commit of the new libm!
[musl] / src / complex / cpowf.c
diff --git a/src/complex/cpowf.c b/src/complex/cpowf.c
new file mode 100644 (file)
index 0000000..53c65dc
--- /dev/null
@@ -0,0 +1,6 @@
+#include "libm.h"
+
+float complex cpowf(float complex z, float complex c)
+{
+       return cexpf(c * clogf(z));
+}