Math operation known issue? a^b

No, this is expected. It’s called integer overflow. Once you reach the highest representable number it wraps around to the lowest. This is how integer works on computers.

If you use floats instead it works:

julia> 20.0^20
1.048576e26

(although floats have their own set of issues: PSA: floating-point arithmetic)

6 Likes