Function pow

Top 

Declaration:

float pow(float x, float y);

Description

The pow function raises x to the power y.

Returned function

The pow function returns the result of raising x to the power y. If y is equal to 0, then the function will return 1.0. If x == 0 and y < 0, then the error will occur (falling outside the range) and the function will return 0. If x < 0 and y is not an integer, then the error of falling outside the range will also occur and the pow function will return 0.