1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
3 .\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
4 .\" Distributed under GPL
7 .TH CEXP 3 2021-03-22 "" "Linux Programmer's Manual"
9 cexp, cexpf, cexpl \- complex exponential function
12 .B #include <complex.h>
14 .BI "double complex cexp(double complex " z ");"
15 .BI "float complex cexpf(float complex " z ");"
16 .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
28 cexp(I * z) = ccos(z) + I * csin(z)
31 These functions first appeared in glibc in version 2.1.
33 For an explanation of the terms used in this section, see
41 Interface Attribute Value
46 T} Thread safety MT-Safe
52 C99, POSIX.1-2001, POSIX.1-2008.