1ccos(3)                    Library Functions Manual                    ccos(3)
2
3
4

NAME

6       ccos, ccosf, ccosl - complex cosine function
7

LIBRARY

9       Math library (libm, -lm)
10

SYNOPSIS

12       #include <complex.h>
13
14       double complex ccos(double complex z);
15       float complex ccosf(float complex z);
16       long double complex ccosl(long double complex z);
17

DESCRIPTION

19       These functions calculate the complex cosine of z.
20
21       The complex cosine function is defined as:
22
23           ccos(z) = (exp(i * z) + exp(-i * z)) / 2
24

ATTRIBUTES

26       For  an  explanation  of  the  terms  used  in  this  section,  see at‐
27       tributes(7).
28
29       ┌────────────────────────────────────────────┬───────────────┬─────────┐
30Interface                                   Attribute     Value   
31       ├────────────────────────────────────────────┼───────────────┼─────────┤
32ccos(), ccosf(), ccosl()                    │ Thread safety │ MT-Safe │
33       └────────────────────────────────────────────┴───────────────┴─────────┘
34

STANDARDS

36       C11, POSIX.1-2008.
37

HISTORY

39       glibc 2.1.  C99, POSIX.1-2001.
40

SEE ALSO

42       cabs(3), cacos(3), csin(3), ctan(3), complex(7)
43
44
45
46Linux man-pages 6.05              2023-07-20                           ccos(3)
Impressum