manpagez: man (manual) pages & more
man ctan(3)
Home | html | info | man
csin(3)                  BSD Library Functions Manual                  csin(3)


NAME

     csin -- 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);


DESCRIPTION

     csin(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 ALSO

     csinh(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

Mac OS X 10.9.1 - Generated Tue Jan 7 08:33:28 CST 2014