extend cmath (some of the functions are dummy)
[libm] / src / cmath / ccosf.c
diff --git a/src/cmath/ccosf.c b/src/cmath/ccosf.c
new file mode 100644 (file)
index 0000000..9b72c4f
--- /dev/null
@@ -0,0 +1,6 @@
+#include "libm.h"
+
+float complex ccosf(float complex z)
+{
+       return ccoshf(cpackf(-cimagf(z), crealf(z)));
+}