projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
first commit of the new libm!
[musl]
/
src
/
complex
/
casinhf.c
diff --git a/src/complex/casinhf.c
b/src/complex/casinhf.c
new file mode 100644
(file)
index 0000000..
ed4af64
--- /dev/null
+++ b/
src/complex/casinhf.c
@@ -0,0
+1,7
@@
+#include "libm.h"
+
+float complex casinhf(float complex z)
+{
+ z = casinf(cpackf(-cimagf(z), crealf(z)));
+ return cpackf(cimagf(z), -crealf(z));
+}