Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
3bda42ac4bddc600bdae0f57c5b65c4482fbfefc
/
.
/
src
/
complex
/
cacosh.c
blob: 8c68cb01fd6039eafaa856a7f3130a425b7504f6 [
file
] [
log
] [
blame
]
#include
"libm.h"
/* acosh(z) = i acos(z) */
double
complex cacosh
(
double
complex z
)
{
z
=
cacos
(
z
);
return
CMPLX
(-
cimag
(
z
),
creal
(
z
));
}