In general, n_{10} decimal digits correspond to n_{2} = n_{10} \log_{2}(10) binary digits for the mantissa, so in your case you want to specify
julia> round(Int, 1e6 * log2(10))
3321928
Not sure you’ll have some memory issue with such a large precision, though.