Skip to content

Commit 51b6e03

Browse files
fix inadvertently introduced type-change in Uint128 * Uint128.
1 parent 5cdfd21 commit 51b6e03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base/int.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,8 @@ if WORD_SIZE==32
430430
end
431431

432432
function *(u::Uint128, v::Uint128)
433-
u0 = u % Uint64; u1 = int64(u>>64)
434-
v0 = v % Uint64; v1 = int64(v>>64)
433+
u0 = u % Uint64; u1 = uint64(u>>>64)
434+
v0 = v % Uint64; v1 = uint64(v>>>64)
435435
lolo = widemul(u0, v0)
436436
lohi = widemul(u0, v1)
437437
hilo = widemul(u1, v0)

0 commit comments

Comments
 (0)