1CEXP(3) Linux Programmer's Manual CEXP(3)
2
3
4
6 cexp, cexpf, cexpl - complex exponential function
7
9 #include <complex.h>
10
11 double complex cexp(double complex z);
12 float complex cexpf(float complex z);
13 long double complex cexpl(long double complex z);
14
15 Link with -lm.
16
18 The function calculates e (2.71828..., the base of natural logarithms)
19 raised to the power of z.
20
21 One has:
22
23 cexp(I * z) = ccos(z) + I * csin(z)
24
26 These functions first appeared in glibc in version 2.1.
27
29 C99.
30
32 cabs(3), cexp2(3), clog(3), cpow(3), complex(7)
33
35 This page is part of release 3.53 of the Linux man-pages project. A
36 description of the project, and information about reporting bugs, can
37 be found at http://www.kernel.org/doc/man-pages/.
38
39
40
41 2008-08-11 CEXP(3)