CSIN(3) BSD Library Functions Manual CSIN(3)NAMEcsin — complex sine function
ccos — complex cosine function
ctan — complex tangent function
SYNOPSIS
#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);
DESCRIPTIONcsin(z) computes the sine of the complex floating-point number z.
ccos(z) computes the cosine of the complex floating-point number z.
ctan(z) computes the tangent of the complex floating-point number z.
NOTES
csin, ccos, and ctan are defined in terms of the complex hyperbolic func‐
tions as follows:
csin(z) = -i * csinh(i*z),
ccos(z) = ccosh(i*z),
ctan(z) = -i * ctanh(i*z).
SEE ALSOcsinh(3)ccosh(3)ctanh(3)complex(3)STANDARDS
The csin(), ccos(), and ctan() functions conform to ISO/IEC 9899:2011.
4th Berkeley Distribution December 11, 2006 4th Berkeley Distribution