]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/ccos.3
namespaces.7: ffix
[thirdparty/man-pages.git] / man3 / ccos.3
CommitLineData
fea681da 1.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2297bf0e 2.\"
38f20bb9 3.\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
fea681da 4.\" Distributed under GPL
38f20bb9 5.\" %%%LICENSE_END
fea681da 6.\"
c73595c2 7.TH CCOS 3 2015-04-19 "" "Linux Programmer's Manual"
fea681da
MK
8.SH NAME
9ccos, ccosf, ccosl \- complex cosine function
10.SH SYNOPSIS
11.B #include <complex.h>
12.sp
13.BI "double complex ccos(double complex " z ");"
d39541ec 14.br
fea681da 15.BI "float complex ccosf(float complex " z ");"
d39541ec 16.br
fea681da
MK
17.BI "long double complex ccosl(long double complex " z ");"
18.sp
20c58d70 19Link with \fI\-lm\fP.
fea681da 20.SH DESCRIPTION
f0a0305b 21These functions calculate the complex cosine of
a6899b95
MK
22.IR z .
23
51065a83
MK
24The complex cosine function is defined as:
25.nf
26
27 ccos(z) = (exp(i * z) + exp(\-i * z)) / 2
494fc522 28.fi
f0d7ce1d
MK
29.SH VERSIONS
30These functions first appeared in glibc in version 2.1.
a597364f
MS
31.SH ATTRIBUTES
32For an explanation of the terms used in this section, see
33.BR attributes (7).
34.TS
35allbox;
36lbw24 lb lb
37l l l.
38Interface Attribute Value
39T{
40.BR ccos (),
41.BR ccosf (),
42.BR ccosl ()
43T} Thread safety MT-Safe
44.TE
45
47297adb 46.SH CONFORMING TO
9a74e018 47C99, POSIX.1-2001, POSIX.1-2008.
47297adb 48.SH SEE ALSO
fea681da 49.BR cabs (3),
f54fb0fa 50.BR cacos (3),
fea681da
MK
51.BR csin (3),
52.BR ctan (3),
a8bda636 53.BR complex (7)