]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/cexp.3
fanotify_init.2, fanotify.7: Document FAN_REPORT_TID
[thirdparty/man-pages.git] / man3 / cexp.3
CommitLineData
fea681da 1.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2297bf0e 2.\"
38f20bb9 3.\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
fea681da 4.\" Distributed under GPL
38f20bb9 5.\" %%%LICENSE_END
fea681da 6.\"
4b8c67d9 7.TH CEXP 3 2017-09-15 "" "Linux Programmer's Manual"
fea681da
MK
8.SH NAME
9cexp, cexpf, cexpl \- complex exponential function
10.SH SYNOPSIS
11.B #include <complex.h>
68e4db0a 12.PP
fea681da 13.BI "double complex cexp(double complex " z ");"
d39541ec 14.br
fea681da 15.BI "float complex cexpf(float complex " z ");"
d39541ec 16.br
fea681da 17.BI "long double complex cexpl(long double complex " z ");"
68e4db0a 18.PP
20c58d70 19Link with \fI\-lm\fP.
fea681da 20.SH DESCRIPTION
5600f73a 21These functions calculate e (2.71828..., the base of natural logarithms)
d830deef 22raised to the power of
40725279 23.IR z .
dd3568a1 24.PP
d830deef 25One has:
207050fa 26.PP
d830deef 27.nf
d830deef
MK
28 cexp(I * z) = ccos(z) + I * csin(z)
29.fi
f0d7ce1d
MK
30.SH VERSIONS
31These functions first appeared in glibc in version 2.1.
71557c6d
MS
32.SH ATTRIBUTES
33For an explanation of the terms used in this section, see
34.BR attributes (7).
35.TS
36allbox;
37lbw24 lb lb
38l l l.
39Interface Attribute Value
40T{
41.BR cexp (),
42.BR cexpf (),
43.BR cexpl ()
44T} Thread safety MT-Safe
45.TE
847e0d88 46.sp 1
47297adb 47.SH CONFORMING TO
9a74e018 48C99, POSIX.1-2001, POSIX.1-2008.
47297adb 49.SH SEE ALSO
fea681da 50.BR cabs (3),
bd2c87db 51.BR cexp2 (3),
fea681da
MK
52.BR clog (3),
53.BR cpow (3),
a8bda636 54.BR complex (7)