Skip to content

Commit

Permalink
Fix compilation on 32-bit platforms.
Browse files Browse the repository at this point in the history
Change-Id: I3a32c3fe741262af47f5fa301c91bcfd00e0b14b
  • Loading branch information
remyoudompheng committed Jan 17, 2019
1 parent 6c9311e commit 8b9aeb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/strconv/extfloat2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func TestRyuFtoaFixed(t *testing.T) {
bits ^= (1 << 60)
}
x := math.Float64frombits(bits)
prec := (int(i)*0xc0dedead)%16 + 1
prec := int((uint64(i)*0xc0dedead)%16 + 1)

mant, exp := mantExp(x)

Expand Down

0 comments on commit 8b9aeb9

Please sign in to comment.