You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Language/Functions/Math/pow.adoc
+3-8Lines changed: 3 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -4,20 +4,15 @@ categories: [ "Functions" ]
4
4
subCategories: [ "Math" ]
5
5
---
6
6
7
-
8
-
9
-
10
-
11
7
= pow(base, exponent)
12
8
13
-
14
9
// OVERVIEW SECTION STARTS
15
10
[#overview]
16
11
--
17
12
18
13
[float]
19
14
=== 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.
21
16
[%hardbreaks]
22
17
23
18
@@ -34,7 +29,7 @@ Calculates the value of a number raised to a power. `Pow()` can be used to raise
34
29
35
30
[float]
36
31
=== Returns
37
-
The result of the exponentiation. (`double`)
32
+
The result of the exponentiation (`double`)
38
33
39
34
--
40
35
// OVERVIEW SECTION ENDS
@@ -52,7 +47,7 @@ Calculate the value of x raised to the power of y:
52
47
----
53
48
z = pow(x, y);
54
49
----
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()`.
0 commit comments