Skip to content

Fixed reference to map() #571

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 27, 2019
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