]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/cpow.3
acos.3, acosh.3, asin.3, asinh.3, atan.3, atan2.3, atanh.3, cabs.3, cacos.3, cacosh...
[thirdparty/man-pages.git] / man3 / cpow.3
CommitLineData
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
9cpow, 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 21Link with \fI\-lm\fP.
62218dc0 22.fi
fea681da 23.SH DESCRIPTION
e5056894
MK
24The function calculates
25.I x
26raised to the power
27.IR z .
28(With a branch cut for
29.I x
30along the negative real axis.)
f0d7ce1d
MK
31.SH VERSIONS
32These functions first appeared in glibc in version 2.1.
5fb52537
MS
33.SH ATTRIBUTES
34For an explanation of the terms used in this section, see
35.BR attributes (7).
36.TS
37allbox;
38lbw24 lb lb
39l l l.
40Interface Attribute Value
41T{
42.BR cpow (),
43.BR cpowf (),
44.BR cpowl ()
45T} Thread safety MT-Safe
46.TE
47297adb 47.SH CONFORMING TO
9a74e018 48C99, 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)