It’s not the division that was “wrong,” it was the exponentiation.
julia> 10^22 1864712049423024128
This is because Julia uses machine integer arithmetic — see: