The results are the same mod 2^64. Julia’s Int
s have overflow because Int
s on a CPU have overflow and making your basic integer type a BigInt
makes your language about 50x slower. For a lot more detail, see Discussion about integer overflow
11 Likes