summaryrefslogtreecommitdiff
path: root/man3/cpow.3
blob: d6cda6ed3e95cc9673bbb6cbf4345cbba035ddad (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
.\" 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
.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 ", complex long double " z ");"
.sp
Link with \fI\-lm\fP.
.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)