Unexpected behaviour with integer sqrt and integer ^

No, the documentation clearly states that ^ has higher precedence:

https://docs.julialang.org/en/v1/manual/mathematical-operations/#Operator-Precedence-and-Associativity

2 Likes