Skip to content

Commit 9a8f210

Browse files
authored
Fixed reference to map()
The fscale example code actually makes use of the pow() function, not map().
1 parent 674a92e commit 9a8f210

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

Language/Functions/Math/pow.adoc

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,15 @@ categories: [ "Functions" ]
44
subCategories: [ "Math" ]
55
---
66

7-
8-
9-
10-
117
= pow(base, exponent)
128

13-
149
// OVERVIEW SECTION STARTS
1510
[#overview]
1611
--
1712

1813
[float]
1914
=== Description
20-
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.
15+
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.
2116
[%hardbreaks]
2217

2318

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

3530
[float]
3631
=== Returns
37-
The result of the exponentiation. (`double`)
32+
The result of the exponentiation (`double`)
3833

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

5853
--

0 commit comments

Comments
 (0)