pow()

Calculates the value of a number raised to a power.

Library Documentation

double pow(double x, double y)

Compute an exponentiation.

Parameters

  • x -

    the base. This value cannot be zero if y <= 0. This value cannot be negative if y is not an integral value.

  • y -

    the exponent.

Return
x raised to the power y.

See Also

License and Attribution

This documentation page was adapted from the Arduino Reference Documentation, which is released under a Creative Commons Attribution-ShareAlike 3.0 License.