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

Portions of this page were adapted from the Arduino Reference Documentation, which is released under a Creative Commons Attribution-ShareAlike 3.0 License.

Table Of Contents