Sign in
chromium
/
external
/
github.com
/
WebAssembly
/
musl
/
5b546faa67544af395d6407553762b37e9711157
/
.
/
src
/
complex
/
ccos.c
blob: 645aec29a9dc013de43e3bb4bfed7d36d671a39b [
file
] [
log
] [
blame
]
#include
"libm.h"
/* cos(z) = cosh(i z) */
double
complex ccos
(
double
complex z
)
{
return
ccosh
(
CMPLX
(-
cimag
(
z
),
creal
(
z
)));
}