Skip to content

Commit c3ed294

Browse files
committed
fix i64 precise modulo
1 parent b500e12 commit c3ed294

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/long.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1595,7 +1595,7 @@ var i64Math = (function() { // Emscripten wrapper
15951595
}
15961596
},
15971597
modulo: function(xl, xh, yl, yh, unsigned) {
1598-
if (!Wrapper.two32) Wrapper.makeTwo32();
1598+
Wrapper.ensureTemps();
15991599
if (!unsigned) {
16001600
var x = new goog.math.Long(xl, xh);
16011601
var y = new goog.math.Long(yl, yh);

0 commit comments

Comments
 (0)