Sign in
chromium
/
external
/
github.com
/
WebAssembly
/
musl
/
5b546faa67544af395d6407553762b37e9711157
/
.
/
src
/
complex
/
casinh.c
blob: b57fe8c40ba3bfe94047e8af1f17b12ff9e4dd89 [
file
] [
log
] [
blame
]
#include
"libm.h"
/* asinh(z) = -i asin(i z) */
double
complex casinh
(
double
complex z
)
{
z
=
casin
(
CMPLX
(-
cimag
(
z
),
creal
(
z
)));
return
CMPLX
(
cimag
(
z
),
-
creal
(
z
));
}