Skip to content

Commit

Permalink
Update Int128.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeGuyWhoLovesCoding authored Sep 2, 2024
1 parent 01ac650 commit dea16a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/haxe/Int128.hx
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ abstract Int128(__Int128) from __Int128 to __Int128 {
**/
@:op(A * B)
public static #if !lua inline #end function mul(a:Int128, b:Int128):Int128 {
var mask = Int64.fromFloat(4294967295);
var mask = Int64Helper.maxValue32U;
var aLow = a.low & mask, aHigh = a.low >>> 32;
var bLow = b.low & mask, bHigh = b.low >>> 32;
var part00 = aLow * bLow;
Expand Down

0 comments on commit dea16a1

Please sign in to comment.