lvm.js

changeset 100
d20586b6104c
parent 99
633e414a496c
child 101
f1247747f025
equal deleted inserted replaced
99:633e414a496c 100:d20586b6104c
670 }; 670 };
671 671
672 var math = { 672 var math = {
673 ldexp: function (m, e) 673 ldexp: function (m, e)
674 { 674 {
675 sys.puts("ldexp(): m: "+sys.inspect(m)+" e: "+sys.inspect(e));
676 return [this.LValue(m.value*Math.pow(2, e.value))]; 675 return [this.LValue(m.value*Math.pow(2, e.value))];
677 }, 676 },
678 floor: function (x) 677 floor: function (x)
679 { 678 {
680 return [this.LValue(Math.floor(x.value))]; 679 return [this.LValue(Math.floor(x.value))];

mercurial