See discussion: https://groups.google.com/forum/#!topic/julia-users/8BP1Mt1o_r0 Here's where the overflow detection needs to go: https://github.com/JuliaLang/julia/blob/704b852d54cb9b02f07ea084b102dec8fb2dca2a/base/string.jl#L1472
See discussion: https://groups.google.com/forum/#!topic/julia-users/8BP1Mt1o_r0
Here's where the overflow detection needs to go:
julia/base/string.jl
Line 1472 in 704b852