Sign in
mojo
/
mojo-tools
/
6d10d6bbfecec30019b2fe5c06e28a809f0d9753
/
.
/
fusl
/
src
/
complex
/
catanh.c
blob: 559f93aa656314c292c18bbf1806a3724e1125a0 [
file
] [
log
] [
blame
]
#include
"libm.h"
/* atanh = -i atan(i z) */
double
complex catanh
(
double
complex z
)
{
z
=
catan
(
CMPLX
(-
cimag
(
z
),
creal
(
z
)));
return
CMPLX
(
cimag
(
z
),
-
creal
(
z
));
}