tzfile.5, tzselect.8: sync from tzdb upstream
[man-pages.git] / man3 / ccos.3
blobdedc771a91a4f60ac4f41dd8260e51e5c7f680da
1 '\" t
2 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
3 .\"
4 .\" SPDX-License-Identifier: GPL-1.0-or-later
5 .\"
6 .TH ccos 3 (date) "Linux man-pages (unreleased)"
7 .SH NAME
8 ccos, ccosf, ccosl \- complex cosine function
9 .SH LIBRARY
10 Math library
11 .RI ( libm ", " \-lm )
12 .SH SYNOPSIS
13 .nf
14 .B #include <complex.h>
15 .PP
16 .BI "double complex ccos(double complex " z );
17 .BI "float complex ccosf(float complex " z );
18 .BI "long double complex ccosl(long double complex " z );
19 .fi
20 .SH DESCRIPTION
21 These functions calculate the complex cosine of
22 .IR z .
23 .PP
24 The complex cosine function is defined as:
25 .PP
26 .in +4n
27 .EX
28 ccos(z) = (exp(i * z) + exp(\-i * z)) / 2
29 .EE
30 .in
31 .SH VERSIONS
32 These functions were added in glibc 2.1.
33 .SH ATTRIBUTES
34 For an explanation of the terms used in this section, see
35 .BR attributes (7).
36 .ad l
37 .nh
38 .TS
39 allbox;
40 lbx lb lb
41 l l l.
42 Interface       Attribute       Value
44 .BR ccos (),
45 .BR ccosf (),
46 .BR ccosl ()
47 T}      Thread safety   MT-Safe
48 .TE
49 .hy
50 .ad
51 .sp 1
52 .SH STANDARDS
53 C99, POSIX.1-2001, POSIX.1-2008.
54 .SH SEE ALSO
55 .BR cabs (3),
56 .BR cacos (3),
57 .BR csin (3),
58 .BR ctan (3),
59 .BR complex (7)