That's just integer overflow.
julia> 2^62
4611686018427387904
julia> 2^63
-9223372036854775808
julia> 2^64
0C/C++ makes the same choices, by and large.
Based on the confusion there, it definitely seems that it could be made clearer in the docs that if one wants floating point results one needs to use 10.0^17 instead of 10^17.