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

Add Math.cos

This commit is contained in:
Robert Krimen
2013-02-23 13:57:39 -08:00
parent 7cf2fbb996
commit 614b345e7a
3 changed files with 19 additions and 0 deletions

View File

@@ -315,6 +315,7 @@ func newContext() *_runtime {
"atan", 1, builtinMath_atan,
"atan2", 1, builtinMath_atan2,
"ceil", 1, builtinMath_ceil,
"cos", 1, builtinMath_cos,
"exp", 1, builtinMath_exp,
"floor", 1, builtinMath_floor,
"max", 2, builtinMath_max,