CCOS(3) Library Functions Manual CCOS(3)

ccos, ccosf, ccoslcomplex circular cosine

#include <complex.h>

double complex
ccos(double complex z);

float complex
ccosf(float complex z);

long double complex
ccosl(long double complex z);

The (), () and () functions compute the complex circular cosine of z.

If z = x + iy, then

ccos(z) = cos(x) cosh(y) - i sin(x) sinh(y).

The ccos(), ccosf() and ccosl() functions return the complex circular cosine of z.

csin(3), ctan(3)

The ccos(), ccosf() and ccosl() functions conform to ISO/IEC 9899:1999 (“ISO C99”).

June 5, 2013 OpenBSD 7.6