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