]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man3/cpow.3
tsearch.3: Minor tweak to Florian's patch
[thirdparty/man-pages.git] / man3 / cpow.3
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
9 cpow, 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
19 Link with \fI\-lm\fP.
20 .fi
21 .SH DESCRIPTION
22 These functions calculate
23 .I x
24 raised to the power
25 .IR z
26 (with a branch cut for
27 .I x
28 along the negative real axis.)
29 .SH VERSIONS
30 These functions first appeared in glibc in version 2.1.
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
45 .SH CONFORMING TO
46 C99, POSIX.1-2001, POSIX.1-2008.
47 .SH SEE ALSO
48 .BR cabs (3),
49 .BR pow (3),
50 .BR complex (7)