Provided by:

manpages-dev_2.77-1_all **NAME**

pow, powf, powl - power functions

**SYNOPSIS**

**#include** **<math.h>**
**double** **pow(double** __x__**,** **double** __y__**);**
**float** **powf(float** __x__**,** **float** __y__**);**
**long** **double** **powl(long** **double** __x__**,** **long** **double** __y__**);**
Link with __-lm__.

**DESCRIPTION**

The **pow**() function returns the value of __x__ raised to the power of __y__.

**ERRORS**

The **pow**() function can return the following error:
**EDOM** The argument __x__ is negative and __y__ is not an integral value. This
would result in a complex number.

**CONFORMING** **TO**

SVr4, 4.3BSD, C89. The __float__ and __long__ __double__ variants are C99
requirements.

**SEE** **ALSO**

**cbrt**(3), **cpow**(3), **sqrt**(3)

**COLOPHON**

This page is part of release 2.77 of the Linux __man-pages__ project. A
description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
2002-07-27 POW(3)