This documentation is copyright © 1998-2001 Sandro Sigala <sandro@sigala.it>.
All rights reserved.

Released under the GNU General Public License.

Return to index Return to header Previous symbol Next symbol

pow

Prototype

#include <math.h>

double pow(double x, double y);

Description

Returns \ldots

Example

View source
#include <math.h>

/* Calculate the distance between two points. */
double distance(double x0, double y0, double x1, double y1)
{
	return sqrt(pow(x1 - x0, 2) + pow(y1 - y0, 2));
}

References

ISO C 9899:1990 XXX