tail head cat sleep
QR code linking to this page

Manual Pages  — CCOS


ccos, ccosf, csin, csinf ctan, ctanf – complex trigonometric functions



Math Library (libm, -lm)


#include <complex.h>

double complex
ccos(double complex z);

float complex
ccosf(float complex z);

double complex
csin(double complex z);

float complex
csinf(float complex z);

double complex
ctan(double complex z);

float complex
ctanf(float complex z);


The ccos(), csin(), and ctan() functions compute the cosine, sine, and tangent of the complex number z, respectively. The ccosf(), csinf(), and ctanf() functions perform the same operations in float precision.


cacos(3), ccosh(3), complex(3), cos(3), math(3), sin(3), tan(3)


These functions conform to ISO/IEC 9899:1999 ("ISO C99").

CCOS (3) October 17, 2011

tail head cat sleep
QR code linking to this page

Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

The most horrifying thing about Unix is that, no matter how many times you hit yourself over the head with it, you never quite manage to lose consciousness. It just goes on and on.
— Patrick Sobalvarro