Skip to content

Commit

Permalink
Merge pull request #3278 from legrosbuffle/fix3841_phobos
Browse files Browse the repository at this point in the history
Remove a bad cast (Required for fixing issue 3841). Functional noop.
  • Loading branch information
schveiguy committed May 14, 2015
2 parents d47c603 + 8558b22 commit 4ba5fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/internal/math/biguintcore.d
Original file line number Diff line number Diff line change
Expand Up @@ -1355,7 +1355,7 @@ void mulInternal(BigDigit[] result, const(BigDigit)[] x, const(BigDigit)[] y)
// in the existing chunks.
// Make all the chunks a tiny bit bigger
// (We're padding y with zeros)
chunksize += extra / cast(double)numchunks;
chunksize += extra / numchunks;
extra = x.length - chunksize*numchunks;
// there will probably be a few left over.
// Every chunk will either have size chunksize, or chunksize+1.
Expand Down

0 comments on commit 4ba5fc4

Please sign in to comment.