1CCOS(3)                    Linux Programmer's Manual                   CCOS(3)
2
3
4

NAME

6       ccos, ccosf, ccosl - complex cosine function
7

SYNOPSIS

9       #include <complex.h>
10
11       double complex ccos(double complex z);
12       float complex ccosf(float complex z);
13       long double complex ccosl(long double complex z);
14
15       Link with -lm.
16

DESCRIPTION

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

VERSIONS

25       These functions first appeared in glibc in version 2.1.
26

ATTRIBUTES

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

CONFORMING TO

38       C99, POSIX.1-2001, POSIX.1-2008.
39

SEE ALSO

41       cabs(3), cacos(3), csin(3), ctan(3), complex(7)
42

COLOPHON

44       This page is part of release 5.07 of the Linux  man-pages  project.   A
45       description  of  the project, information about reporting bugs, and the
46       latest    version    of    this    page,    can     be     found     at
47       https://www.kernel.org/doc/man-pages/.
48
49
50
51                                  2017-09-15                           CCOS(3)
Impressum