pas2js: fixed rtl.js

This commit is contained in:
mattias 2019-03-24 11:02:15 +00:00
parent 8b7d832bb8
commit 65acd80d7e

View File

@ -1096,7 +1096,7 @@ var rtl = {
if (a<0) a += rtl.hiInt;
if (b<=0) return a;
if (b>54) return 0;
var r = a * Mat.pow(2,b);
var r = a * Math.pow(2,b);
if (r <= rtl.hiInt) return r;
return r % rtl.hiInt;
},