]>
Commit | Line | Data |
---|---|---|
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 |
9 | cexp, 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 | 19 | Link with \fI\-lm\fP. |
fea681da | 20 | .SH DESCRIPTION |
5600f73a | 21 | These functions calculate e (2.71828..., the base of natural logarithms) |
d830deef | 22 | raised to the power of |
40725279 | 23 | .IR z . |
dd3568a1 | 24 | .PP |
d830deef | 25 | One 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 |
31 | These functions first appeared in glibc in version 2.1. | |
71557c6d MS |
32 | .SH ATTRIBUTES |
33 | For an explanation of the terms used in this section, see | |
34 | .BR attributes (7). | |
35 | .TS | |
36 | allbox; | |
37 | lbw24 lb lb | |
38 | l l l. | |
39 | Interface Attribute Value | |
40 | T{ | |
41 | .BR cexp (), | |
42 | .BR cexpf (), | |
43 | .BR cexpl () | |
44 | T} Thread safety MT-Safe | |
45 | .TE | |
847e0d88 | 46 | .sp 1 |
47297adb | 47 | .SH CONFORMING TO |
9a74e018 | 48 | C99, 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) |