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 These functions calculate e (2.71828..., the base of natural loga‐
19 rithms) 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 For an explanation of the terms used in this section, see
30 attributes(7).
31
32 ┌─────────────────────────┬───────────────┬─────────┐
33 │Interface │ Attribute │ Value │
34 ├─────────────────────────┼───────────────┼─────────┤
35 │cexp(), cexpf(), cexpl() │ Thread safety │ MT-Safe │
36 └─────────────────────────┴───────────────┴─────────┘
37
39 C99, POSIX.1-2001, POSIX.1-2008.
40
42 cabs(3), cexp2(3), clog(3), cpow(3), complex(7)
43
45 This page is part of release 5.07 of the Linux man-pages project. A
46 description of the project, information about reporting bugs, and the
47 latest version of this page, can be found at
48 https://www.kernel.org/doc/man-pages/.
49
50
51
52 2017-09-15 CEXP(3)