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