From 9a8f210066e8b2ced2d765fbb0848d89914190ab Mon Sep 17 00:00:00 2001 From: Robson Couto Date: Wed, 27 Feb 2019 01:12:54 -0300 Subject: [PATCH] Fixed reference to map() The fscale example code actually makes use of the pow() function, not map(). --- Language/Functions/Math/pow.adoc | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Language/Functions/Math/pow.adoc b/Language/Functions/Math/pow.adoc index 947d05534..88b3df24f 100644 --- a/Language/Functions/Math/pow.adoc +++ b/Language/Functions/Math/pow.adoc @@ -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] @@ -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 @@ -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] --