1
0
mirror of https://github.com/robertkrimen/otto synced 2025-10-26 20:28:49 +08:00

Add Math.exp

This commit is contained in:
Robert Krimen
2013-02-22 19:36:11 -08:00
parent ad625cdddd
commit 44f53fe29a
3 changed files with 17 additions and 0 deletions

View File

@@ -313,6 +313,7 @@ func newContext() *_runtime {
"max", 2, builtinMath_max,
"min", 2, builtinMath_min,
"ceil", 1, builtinMath_ceil,
"exp", 1, builtinMath_exp,
"floor", 1, builtinMath_floor,
"random", 0, builtinMath_random,
"pow", 2, builtinMath_pow,