pas2js: using Math.pow instead of newer **

git-svn-id: trunk@41732 -
This commit is contained in:
Mattias Gaertner 2019-03-18 17:23:01 +00:00
parent 2c1639003c
commit c3b515695b

View File

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