Add math.Pow

Closes #7266
This commit is contained in:
Joe Mooring
2020-05-13 13:35:07 -04:00
committed by Bjørn Erik Pedersen
parent 558c09305e
commit 991934497e
4 changed files with 60 additions and 1 deletions

View File

@@ -38,4 +38,4 @@ aliases: []
| `math.Round` | Returns the nearest integer, rounding half away from zero. | `{{math.Round 1.5}}` → `2` |
| `math.Log` | Returns the natural logarithm of the given number. | `{{math.Log 42}}` → `3.737` |
| `math.Sqrt` | Returns the square root of the given number. | `{{math.Sqrt 81}}` → `9` |
| `math.Pow` | Returns the first number raised to the power of the second number. | `{{math.Pow 2 3}}` → `8` |