CSIN(3) Library Functions Manual CSIN(3)

csincomplex sine function
ccos
complex cosine function
ctan
complex tangent function

#include <complex.h>

double complex
csin(double complex z);

long double complex
csinl(long double complex z);

float complex
csinf(float complex z);

double complex
ccos(double complex z);

long double complex
ccosl(long double complex z);

float complex
ccosf(float complex z);

double complex
ctan(double complex z);

long double complex
ctanl(long double complex z);

float complex
ctanf(float complex z);

(z) computes the sine of the complex floating-point number z.

(z) computes the cosine of the complex floating-point number z.

(z) computes the tangent of the complex floating-point number z.

csin, ccos, and ctan are defined in terms of the complex hyperbolic functions as follows:

csin(z) = -i * csinh(i*z),

ccos(z) = ccosh(i*z),
ctan(z) = -i * ctanh(i*z).

csinh(3) ccosh(3) ctanh(3) complex(3)

The csin(), ccos(), and ctan() functions conform to ISO/IEC 9899:2011.

December 11, 2006 BSD 4