OSDN Git Service

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