Namespaces
Variants
Actions

ccosf, ccos, ccosl

From cppreference.com
< c‎ | numeric‎ | complex
Defined in header <complex.h>
float complex       ccosf( float complex z );
(1) (since C99)
double complex      ccos( double complex z );
(2) (since C99)
long double complex ccosl( long double complex z );
(3) (since C99)
Defined in header <tgmath.h>
#define cos( z )
(4) (since C99)
1-3) Computes the complex cosine of z.
4) Type-generic macro: If z has type long double complex, ccosl is called. if z has type double complex, ccos is called, if z has type float complex, ccosf is called. If z is real or integer, then the macro invokes the corresponding real function (cosf, cos, cosl). If z is imaginary, then the macro invokes the corresponding real version of the function