2 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
4 .\" SPDX-License-Identifier: GPL-1.0-or-later
6 .TH cexp 3 (date) "Linux man-pages (unreleased)"
8 cexp, cexpf, cexpl \- complex exponential function
11 .RI ( libm ", " \-lm )
14 .B #include <complex.h>
16 .BI "double complex cexp(double complex " z );
17 .BI "float complex cexpf(float complex " z );
18 .BI "long double complex cexpl(long double complex " z );
21 These functions calculate e (2.71828..., the base of natural logarithms)
22 raised to the power of
29 cexp(I * z) = ccos(z) + I * csin(z)
33 For an explanation of the terms used in this section, see
39 Interface Attribute Value
46 T} Thread safety MT-Safe