]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/cpow.3
err.3: EXAMPLES: use EXIT_FAILURE rather than 1 as exit status
[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.\"
c73595c2 7.TH CPOW 3 2015-04-19 "" "Linux Programmer's Manual"
fea681da
MK
8.SH NAME
9cpow, 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 19Link with \fI\-lm\fP.
62218dc0 20.fi
fea681da 21.SH DESCRIPTION
5600f73a 22These functions calculate
e5056894
MK
23.I x
24raised to the power
5600f73a
MK
25.IR z
26(with a branch cut for
e5056894
MK
27.I x
28along the negative real axis.)
f0d7ce1d
MK
29.SH VERSIONS
30These functions first appeared in glibc in version 2.1.
5fb52537
MS
31.SH ATTRIBUTES
32For an explanation of the terms used in this section, see
33.BR attributes (7).
34.TS
35allbox;
36lbw24 lb lb
37l l l.
38Interface Attribute Value
39T{
40.BR cpow (),
41.BR cpowf (),
42.BR cpowl ()
43T} Thread safety MT-Safe
44.TE
47297adb 45.SH CONFORMING TO
9a74e018 46C99, 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)