OSDN Git Service

(split) LDP: Update original to LDP v3.50.
[linuxjm/LDP_man-pages.git] / original / man3 / ccos.3
1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\"
3 .\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
4 .\" Distributed under GPL
5 .\" %%%LICENSE_END
6 .\"
7 .TH CCOS 3 2008-08-11 "" "Linux Programmer's Manual"
8 .SH NAME
9 ccos, ccosf, ccosl \- complex cosine function
10 .SH SYNOPSIS
11 .B #include <complex.h>
12 .sp
13 .BI "double complex ccos(double complex " z ");"
14 .br
15 .BI "float complex ccosf(float complex " z ");"
16 .br
17 .BI "long double complex ccosl(long double complex " z ");"
18 .sp
19 Link with \fI\-lm\fP.
20 .SH DESCRIPTION
21 The complex cosine function is defined as:
22 .nf
23
24     ccos(z) = (exp(i * z) + exp(\-i * z)) / 2
25 .fi
26 .SH VERSIONS
27 These functions first appeared in glibc in version 2.1.
28 .SH CONFORMING TO
29 C99.
30 .SH SEE ALSO
31 .BR cabs (3),
32 .BR cacos (3),
33 .BR csin (3),
34 .BR ctan (3),
35 .BR complex (7)