mount_setattr.2: Add a reference to mount_namespaces(7) in discussion of propagation...
[man-pages.git] / man3 / cexp.3
blob47b29358fecf7d4b31fc7395ee82acc619884522
1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\"
3 .\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
4 .\" Distributed under GPL
5 .\" %%%LICENSE_END
6 .\"
7 .TH CEXP 3 2021-03-22 "" "Linux Programmer's Manual"
8 .SH NAME
9 cexp, cexpf, cexpl \- complex exponential function
10 .SH SYNOPSIS
11 .nf
12 .B #include <complex.h>
13 .PP
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 ");"
17 .PP
18 Link with \fI\-lm\fP.
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 .
24 .PP
25 One has:
26 .PP
27 .nf
28     cexp(I * z) = ccos(z) + I * csin(z)
29 .fi
30 .SH VERSIONS
31 These functions first appeared in glibc in version 2.1.
32 .SH ATTRIBUTES
33 For an explanation of the terms used in this section, see
34 .BR attributes (7).
35 .ad l
36 .nh
37 .TS
38 allbox;
39 lbx lb lb
40 l l l.
41 Interface       Attribute       Value
43 .BR cexp (),
44 .BR cexpf (),
45 .BR cexpl ()
46 T}      Thread safety   MT-Safe
47 .TE
48 .hy
49 .ad
50 .sp 1
51 .SH CONFORMING TO
52 C99, POSIX.1-2001, POSIX.1-2008.
53 .SH SEE ALSO
54 .BR cabs (3),
55 .BR cexp2 (3),
56 .BR clog (3),
57 .BR cpow (3),
58 .BR complex (7)