share/mk/: build-html: Don't build mbind.2 and set_mempolicy.2
[man-pages.git] / man3 / ccos.3
blob0e77b3715c960460bdc82663017eae5fb96ff261
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>
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 .
24 The complex cosine function is defined as:
26 .in +4n
27 .EX
28 ccos(z) = (exp(i * z) + exp(\-i * z)) / 2
29 .EE
30 .in
31 .SH ATTRIBUTES
32 For an explanation of the terms used in this section, see
33 .BR attributes (7).
34 .TS
35 allbox;
36 lbx lb lb
37 l l l.
38 Interface       Attribute       Value
40 .na
41 .nh
42 .BR ccos (),
43 .BR ccosf (),
44 .BR ccosl ()
45 T}      Thread safety   MT-Safe
46 .TE
47 .SH STANDARDS
48 C11, POSIX.1-2008.
49 .SH HISTORY
50 glibc 2.1.
51 C99, POSIX.1-2001.
52 .SH SEE ALSO
53 .BR cabs (3),
54 .BR cacos (3),
55 .BR csin (3),
56 .BR ctan (3),
57 .BR complex (7)