Math Library Functions


pow, powf


Syntax

#include <math.h>
double pow(double x, double y);
float  powf(float x, float y);

Arguments

x      base
y      exponent

Return Value

x to the y power

Description

Calculates x to the y power.