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

@@ -92,6 +92,13 @@ func init() {
},
)
ns.AddMethodMapping(ctx.Pow,
[]string{"pow"},
[][2]string{
{"{{math.Pow 2 3}}", "8"},
},
)
ns.AddMethodMapping(ctx.Round,
nil,
[][2]string{