Syntax
double pow(
    double base, 
    double exponent
);
ContentsIndex
PreviousUpNext
pow
Syntax
double pow(
    double base, 
    double exponent
);
Description

Calculates the value of a number raised to a power. Pow() functiom can be used to raise a number to a fractional power. This is useful for generating exponential mapping of values or curves.

Parameters
Parameters 
Description 
double base 
the number (float)
 
double exponent 
the power to which the base is raised (float)  
Returns

The result of the exponentiation (double)

File

math.h

Group