Skip to content

Commit

Permalink
Merge pull request #16879 from rfourquet/rf/intfuncs-WORD_SIZE
Browse files Browse the repository at this point in the history
ndigits: fix (harmless) bug introduced when deprecating WORD_SIZE
  • Loading branch information
vtjnash authored Jun 11, 2016
2 parents 9b47a86 + 69ffa31 commit 37ccc44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/intfuncs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ function ndigits0z(x::UInt128)
end
ndigits0z(x::Integer) = ndigits0z(unsigned(abs(x)))

const ndigits_max_mul = Core.sizeof(Int32) == 4 ? 69000000 : 290000000000000000
const ndigits_max_mul = Core.sizeof(Int) == 4 ? 69000000 : 290000000000000000

function ndigits0znb(n::Int, b::Int)
d = 0
Expand Down

0 comments on commit 37ccc44

Please sign in to comment.