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.

Never write it in C if you can do it in `awk';
Never do it in `awk' if `sed' can handle it;
Never use `sed' when `tr' can do the job;
Never invoke `tr' when `cat' is sufficient;
Avoid using `cat' whenever possible.
— Taylor's Laws of Programming