projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adapt res_msend DNS query core for working with multiple sockets
[musl]
/
src
/
complex
/
casinh.c
diff --git
a/src/complex/casinh.c
b/src/complex/casinh.c
index
f2b3fef
..
50bf27c
100644
(file)
--- a/
src/complex/casinh.c
+++ b/
src/complex/casinh.c
@@
-1,9
+1,9
@@
-#include "
libm
.h"
+#include "
complex_impl
.h"
/* asinh(z) = -i asin(i z) */
double complex casinh(double complex z)
{
/* asinh(z) = -i asin(i z) */
double complex casinh(double complex z)
{
- z = casin(
cpack
(-cimag(z), creal(z)));
- return
cpack
(cimag(z), -creal(z));
+ z = casin(
CMPLX
(-cimag(z), creal(z)));
+ return
CMPLX
(cimag(z), -creal(z));
}
}