1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\" Distributed under GPL
4 .TH CEXP 3 2008-08-11 "" "Linux Programmer's Manual"
6 cexp, cexpf, cexpl \- complex exponential function
8 .B #include <complex.h>
10 .BI "double complex cexp(double complex " z ");"
12 .BI "float complex cexpf(float complex " z ");"
14 .BI "long double complex cexpl(long double complex " z ");"
18 The function calculates e (2.71828..., the base of natural logarithms)
19 raised to the power of
25 cexp(I * z) = ccos(z) + I * csin(z)
28 These functions first appeared in glibc in version 2.1.