source:
asp3_tinet_ecnl_arm/trunk/musl-1.1.18/src/complex/ccos.c@
387
Last change on this file since 387 was 352, checked in by , 6 years ago | |
---|---|
|
|
File size: 130 bytes |
Line | |
---|---|
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 | } |
Note:
See TracBrowser
for help on using the repository browser.