]> git.ipfire.org Git - thirdparty/man-pages.git/blame_incremental - man3/cpow.3
err.3: EXAMPLES: use EXIT_FAILURE rather than 1 as exit status
[thirdparty/man-pages.git] / man3 / cpow.3
... / ...
CommitLineData
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 CPOW 3 2015-04-19 "" "Linux Programmer's Manual"
8.SH NAME
9cpow, cpowf, cpowl \- complex power function
10.SH SYNOPSIS
11.nf
12.B #include <complex.h>
13.PP
14.BI "double complex cpow(double complex " x ", complex double " z ");"
15.BI "float complex cpowf(float complex " x ", complex float " z ");"
16.BI "long double complex cpowl(long double complex " x ,
17.BI " complex long double " z ");"
18.PP
19Link with \fI\-lm\fP.
20.fi
21.SH DESCRIPTION
22These functions calculate
23.I x
24raised to the power
25.IR z
26(with a branch cut for
27.I x
28along the negative real axis.)
29.SH VERSIONS
30These functions first appeared in glibc in version 2.1.
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
45.SH CONFORMING TO
46C99, POSIX.1-2001, POSIX.1-2008.
47.SH SEE ALSO
48.BR cabs (3),
49.BR pow (3),
50.BR complex (7)