Skip to content

Commit

Permalink
fix inadvertently introduced type-change in Uint128 * Uint128.
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKarpinski committed Oct 15, 2014
1 parent 5cdfd21 commit 51b6e03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/int.jl
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,8 @@ if WORD_SIZE==32
end

function *(u::Uint128, v::Uint128)
u0 = u % Uint64; u1 = int64(u>>64)
v0 = v % Uint64; v1 = int64(v>>64)
u0 = u % Uint64; u1 = uint64(u>>>64)
v0 = v % Uint64; v1 = uint64(v>>>64)
lolo = widemul(u0, v0)
lohi = widemul(u0, v1)
hilo = widemul(u1, v0)
Expand Down

0 comments on commit 51b6e03

Please sign in to comment.