• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include "complex_impl.h"
2 
3 /* cos(z) = cosh(i z) */
4 
ccos(double complex z)5 double complex ccos(double complex z)
6 {
7 	return ccosh(CMPLX(-cimag(z), creal(z)));
8 }
9