Computer Science, asked by rinisen, 8 months ago

Example for arithmetic overflow in python.

Answers

Answered by niteshkumar51175
0

Explanation:

Can Integer Operations Overflow in Python?

Integer representations.

Integers are typically represented in memory as a base-2 bit pattern, and in python the built-in function bin can be used to inspect that:

If the number of bits used is fixed, the range of integers that can be represented would be fixed and can potentially overflow.

Similar questions