diff options
author | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-02-24 15:05:44 +0100 |
---|---|---|
committer | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-02-24 15:53:08 +0100 |
commit | 0a006ad403733a85abe5be3f242c0264a4556afb (patch) | |
tree | 008b1cf32172a0fc17ddf2ff369a1b77e1618bc4 /src/lvm.js | |
parent | fc79b2ae7a85af1b892a103340b9465274153c60 (diff) | |
download | fengari-0a006ad403733a85abe5be3f242c0264a4556afb.tar.gz fengari-0a006ad403733a85abe5be3f242c0264a4556afb.tar.bz2 fengari-0a006ad403733a85abe5be3f242c0264a4556afb.zip |
math.abs, math.sin, math.cos, math.tan, math.asin, math.acos, math.atan
Diffstat (limited to 'src/lvm.js')
-rw-r--r-- | src/lvm.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -845,7 +845,7 @@ const luaV_tointeger = function(obj, mode) { }; const tointeger = function(o) { - return o.ttisinteger() ? o.value : luaV_tointeger(o, 0); + return o.ttisinteger() ? o.value|0 : luaV_tointeger(o, 0); }; const tonumber = function(v) { |