summaryrefslogtreecommitdiff
path: root/man3/cpow.3
blob: 637a128399789868c589299459199d6abd1f4cbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
.\" Distributed under GPL
.\"
.TH CPOW 3 2002-07-28 "" "Linux Programmer's Manual"
.SH NAME
cpow, cpowf, cpowl \- complex power function
.SH SYNOPSIS
.nf
.B #include <complex.h>
.sp
.BI "double complex cpow(double complex " x ", complex double " z ");"
.br
.BI "float complex cpowf(float complex " x ", complex float " z ");"
.br
.BI "long double complex cpowl(long double complex " x , 
.BI "                          complex long double " z ");"
.sp
Link with \fI\-lm\fP.
.fi
.SH DESCRIPTION
The function calculates
.I x
raised to the power
.IR z .
(With a branch cut for
.I x
along the negative real axis.)
.SH "CONFORMING TO"
C99
.SH "SEE ALSO"
.BR cabs (3),
.BR pow (3),
.BR complex (7)