share/mk/: Remove unused variable
[man-pages.git] / man3 / cexp.3
blob917d04d8b16b404b61827e2f55f2dfc592880d25
1 '\" t
2 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
3 .\"
4 .\" SPDX-License-Identifier: GPL-1.0-or-later
5 .\"
6 .TH cexp 3 (date) "Linux man-pages (unreleased)"
7 .SH NAME
8 cexp, cexpf, cexpl \- complex exponential function
9 .SH LIBRARY
10 Math library
11 .RI ( libm ", " \-lm )
12 .SH SYNOPSIS
13 .nf
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 );
19 .fi
20 .SH DESCRIPTION
21 These functions calculate e (2.71828..., the base of natural logarithms)
22 raised to the power of
23 .IR z .
25 One has:
27 .in +4n
28 .EX
29 cexp(I * z) = ccos(z) + I * csin(z)
30 .EE
31 .in
32 .SH ATTRIBUTES
33 For an explanation of the terms used in this section, see
34 .BR attributes (7).
35 .TS
36 allbox;
37 lbx lb lb
38 l l l.
39 Interface       Attribute       Value
41 .na
42 .nh
43 .BR cexp (),
44 .BR cexpf (),
45 .BR cexpl ()
46 T}      Thread safety   MT-Safe
47 .TE
48 .SH STANDARDS
49 C11, POSIX.1-2008.
50 .SH HISTORY
51 glibc 2.1.
52 C99, POSIX.1-2001.
53 .SH SEE ALSO
54 .BR cabs (3),
55 .BR cexp2 (3),
56 .BR clog (3),
57 .BR cpow (3),
58 .BR complex (7)