Calculates the value of a number raised to a power.
pow() can be used to raise a number to a fractional power. This is useful for generating exponential mapping of values or curves.
base: the number (double)
exponent: the power to which the base is raised (double)
The result of the exponentiation (double)
You may refer to the fscale function in the Arduino code library.
The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.