about summary refs log tree commit diff
path: root/src/complex/cpowf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/complex/cpowf.c')
-rw-r--r--src/complex/cpowf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/complex/cpowf.c b/src/complex/cpowf.c
new file mode 100644
index 00000000..53c65dcb
--- /dev/null
+++ b/src/complex/cpowf.c
@@ -0,0 +1,6 @@
+#include "libm.h"
+
+float complex cpowf(float complex z, float complex c)
+{
+	return cexpf(c * clogf(z));
+}