repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
delete a redundant if in dynamic linker ctor execution loop
[musl.git]
/
src
/
complex
/
casinh.c
blob
b57fe8c40ba3bfe94047e8af1f17b12ff9e4dd89
1
#include
"libm.h"
2
3
/* asinh(z) = -i asin(i z) */
4
5
double complex
casinh
(
double complex
z
)
6
{
7
z
=
casin
(
CMPLX
(-
cimag
(
z
),
creal
(
z
)));
8
return
CMPLX
(
cimag
(
z
), -
creal
(
z
));
9
}