OSDN Git Service

e5a96e7fe96350c457fc68c40d9cec30b1094a0a
[linuxjm/LDP_man-pages.git] / original / man3 / cexp.3
1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\" Distributed under GPL
3 .\"
4 .TH CEXP 3 2008-08-11 "" "Linux Programmer's Manual"
5 .SH NAME
6 cexp, cexpf, cexpl \- complex exponential function
7 .SH SYNOPSIS
8 .B #include <complex.h>
9 .sp
10 .BI "double complex cexp(double complex " z ");"
11 .br
12 .BI "float complex cexpf(float complex " z ");"
13 .br
14 .BI "long double complex cexpl(long double complex " z ");"
15 .sp
16 Link with \fI\-lm\fP.
17 .SH DESCRIPTION
18 The function calculates e (2.71828..., the base of natural logarithms)
19 raised to the power of
20 .IR z .
21 .LP
22 One has:
23 .nf
24
25     cexp(I * z) = ccos(z) + I * csin(z)
26 .fi
27 .SH VERSIONS
28 These functions first appeared in glibc in version 2.1.
29 .SH "CONFORMING TO"
30 C99.
31 .SH "SEE ALSO"
32 .BR cabs (3),
33 .BR clog (3),
34 .BR cpow (3),
35 .BR complex (7)