1cexp(3)                    Library Functions Manual                    cexp(3)
2
3
4

NAME

6       cexp, cexpf, cexpl - complex exponential function
7

LIBRARY

9       Math library (libm, -lm)
10

SYNOPSIS

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

DESCRIPTION

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

ATTRIBUTES

27       For an  explanation  of  the  terms  used  in  this  section,  see  at‐
28       tributes(7).
29
30       ┌────────────────────────────────────────────┬───────────────┬─────────┐
31Interface                                   Attribute     Value   
32       ├────────────────────────────────────────────┼───────────────┼─────────┤
33cexp(), cexpf(), cexpl()                    │ Thread safety │ MT-Safe │
34       └────────────────────────────────────────────┴───────────────┴─────────┘
35

STANDARDS

37       C11, POSIX.1-2008.
38

HISTORY

40       glibc 2.1.  C99, POSIX.1-2001.
41

SEE ALSO

43       cabs(3), cexp2(3), clog(3), cpow(3), complex(7)
44
45
46
47Linux man-pages 6.04              2023-03-30                           cexp(3)
Impressum