Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions Language/Functions/Math/pow.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,15 @@ categories: [ "Functions" ]
subCategories: [ "Math" ]
---





= pow(base, exponent)


// OVERVIEW SECTION STARTS
[#overview]
--

[float]
=== Description
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.
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.
[%hardbreaks]


Expand All @@ -34,7 +29,7 @@ Calculates the value of a number raised to a power. `Pow()` can be used to raise

[float]
=== Returns
The result of the exponentiation. (`double`)
The result of the exponentiation (`double`)

--
// OVERVIEW SECTION ENDS
Expand All @@ -52,7 +47,7 @@ Calculate the value of x raised to the power of y:
----
z = pow(x, y);
----
See the (http://arduino.cc/playground/Main/Fscale[fscale]) sketch for a more complex example of the use of `map()`.
See the (http://arduino.cc/playground/Main/Fscale[fscale]) sketch for a more complex example of the use of `pow()`.
[%hardbreaks]

--
Expand Down