Sign in
fuchsia
/
fuchsia
/
refs/heads/releases/canary
/
.
/
zircon
/
third_party
/
ulib
/
musl
/
src
/
complex
/
ccos.c
blob: 1412aa6a4fa500bdf1d07875140788ca1580c9ca [
file
] [
log
] [
blame
]
#include
"libm.h"
/* cos(z) = cosh(i z) */
double
complex ccos
(
double
complex z
)
{
return
ccosh
(
CMPLX
(-
cimag
(
z
),
creal
(
z
)));
}