1cexp(3) Library Functions Manual cexp(3)
2
3
4
6 cexp, cexpf, cexpl - complex exponential function
7
9 Math library (libm, -lm)
10
12 #include <complex.h>
13
14 double complex cexp(double complex z);
15 float complex cexpf(float complex z);
16 long double complex cexpl(long double complex z);
17
19 These functions calculate e (2.71828..., the base of natural loga‐
20 rithms) raised to the power of z.
21
22 One has:
23
24 cexp(I * z) = ccos(z) + I * csin(z)
25
27 For an explanation of the terms used in this section, see at‐
28 tributes(7).
29
30 ┌────────────────────────────────────────────┬───────────────┬─────────┐
31 │Interface │ Attribute │ Value │
32 ├────────────────────────────────────────────┼───────────────┼─────────┤
33 │cexp(), cexpf(), cexpl() │ Thread safety │ MT-Safe │
34 └────────────────────────────────────────────┴───────────────┴─────────┘
35
37 C11, POSIX.1-2008.
38
40 glibc 2.1. C99, POSIX.1-2001.
41
43 cabs(3), cexp2(3), clog(3), cpow(3), complex(7)
44
45
46
47Linux man-pages 6.05 2023-07-20 cexp(3)