OSDN Git Service

Update README
[linuxjm/LDP_man-pages.git] / original / man3 / cexp.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 CEXP 3 2008-08-11 "" "Linux Programmer's Manual"
8 .SH NAME
9 cexp, cexpf, cexpl \- complex exponential function
10 .SH SYNOPSIS
11 .B #include <complex.h>
12 .sp
13 .BI "double complex cexp(double complex " z ");"
14 .br
15 .BI "float complex cexpf(float complex " z ");"
16 .br
17 .BI "long double complex cexpl(long double complex " z ");"
18 .sp
19 Link with \fI\-lm\fP.
20 .SH DESCRIPTION
21 The function calculates e (2.71828..., the base of natural logarithms)
22 raised to the power of
23 .IR z .
24 .LP
25 One has:
26 .nf
27
28     cexp(I * z) = ccos(z) + I * csin(z)
29 .fi
30 .SH VERSIONS
31 These functions first appeared in glibc in version 2.1.
32 .SH CONFORMING TO
33 C99.
34 .SH SEE ALSO
35 .BR cabs (3),
36 .BR cexp2 (3),
37 .BR clog (3),
38 .BR cpow (3),
39 .BR complex (7)
40 .SH COLOPHON
41 This page is part of release 3.79 of the Linux
42 .I man-pages
43 project.
44 A description of the project,
45 information about reporting bugs,
46 and the latest version of this page,
47 can be found at
48 \%http://www.kernel.org/doc/man\-pages/.