1POW(3)                     Linux Programmer's Manual                    POW(3)
2
3
4

NAME

6       pow, powf, powl - power functions
7

SYNOPSIS

9       #include <math.h>
10
11       double pow(double x, double y);
12       float powf(float x, float y);
13       long double powl(long double x, long double y);
14
15       Link with -lm.
16

DESCRIPTION

18       The pow() function  returns the value of x raised to the power of y.
19

ERRORS

21       The pow() function can return the following error:
22
23       EDOM   The argument x is negative and y is not an integral value.  This
24              would result in a complex number.
25

CONFORMING TO

27       SVr4, 4.3BSD, C89.  The float and long double variants are C99 require‐
28       ments.
29

SEE ALSO

31       cbrt(3), cpow(3), sqrt(3)
32
33
34
35                                  2002-07-27                            POW(3)
Impressum