]>
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 | .\" |
fe0fefbf | 7 | .TH CPOW 3 2015-03-02 "" "Linux Programmer's Manual" |
fea681da MK |
8 | .SH NAME |
9 | cpow, cpowf, cpowl \- complex power function | |
10 | .SH SYNOPSIS | |
62218dc0 | 11 | .nf |
fea681da MK |
12 | .B #include <complex.h> |
13 | .sp | |
14 | .BI "double complex cpow(double complex " x ", complex double " z ");" | |
d39541ec | 15 | .br |
fea681da | 16 | .BI "float complex cpowf(float complex " x ", complex float " z ");" |
d39541ec | 17 | .br |
4989f80d | 18 | .BI "long double complex cpowl(long double complex " x , |
62218dc0 | 19 | .BI " complex long double " z ");" |
fea681da | 20 | .sp |
20c58d70 | 21 | Link with \fI\-lm\fP. |
62218dc0 | 22 | .fi |
fea681da | 23 | .SH DESCRIPTION |
e5056894 MK |
24 | The function calculates |
25 | .I x | |
26 | raised to the power | |
27 | .IR z . | |
28 | (With a branch cut for | |
29 | .I x | |
30 | along the negative real axis.) | |
f0d7ce1d MK |
31 | .SH VERSIONS |
32 | These functions first appeared in glibc in version 2.1. | |
5fb52537 MS |
33 | .SH ATTRIBUTES |
34 | For an explanation of the terms used in this section, see | |
35 | .BR attributes (7). | |
36 | .TS | |
37 | allbox; | |
38 | lbw24 lb lb | |
39 | l l l. | |
40 | Interface Attribute Value | |
41 | T{ | |
42 | .BR cpow (), | |
43 | .BR cpowf (), | |
44 | .BR cpowl () | |
45 | T} Thread safety MT-Safe | |
46 | .TE | |
47297adb | 47 | .SH CONFORMING TO |
9a74e018 | 48 | C99, POSIX.1-2001, POSIX.1-2008. |
47297adb | 49 | .SH SEE ALSO |
fea681da MK |
50 | .BR cabs (3), |
51 | .BR pow (3), | |
a8bda636 | 52 | .BR complex (7) |