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.

Our grievance is not just against Unix itself, but against the cult of Unix zealots who defend and nurture it. They take the heat, disease, and pestilence as givens, and, as ancient shamans did, display their wounds, some self-inflicted, as proof of their power and wizardry. We aim, through bluntness and humor, to show them that they pray to a tin god, and that science, not religion, is the path to useful and friendly technology.
— The Unix Haters' handbook