Affected operations

The set overflow state affects the arithmetic operators
    + - * / **
and the built-in summation operation sum.

All of these operations will return an integer result if all of the arguments are integers, so long as no overflow occurs during evaluation.

The set overflow state does not affect logical or bit operations

    << >>  | ^ &

If overflow occurs at any point during the course of evaluating of a summation set overflow float will cause the result to be returned as a real number even if the final sum is within the range of integer representation.