Przeglądaj źródła

pas2js: fixed rtl.js

mattias 6 lat temu
rodzic
commit
65acd80d7e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      compiler/utils/pas2js/dist/rtl.js

+ 1 - 1
compiler/utils/pas2js/dist/rtl.js

@@ -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;
   },