projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
make socketcall types common as they are same for all architectures
[oweals/musl.git]
/
src
/
complex
/
ccos.c
1
#include "libm.h"
2
3
/* cos(z) = cosh(i z) */
4
5
double complex ccos(double complex z)
6
{
7
return ccosh(CMPLX(-cimag(z), creal(z)));
8
}