53.2k views
15 votes
What is the definition of overflow in binary?

User Almazini
by
4.5k points

1 Answer

4 votes
Overflow occurs when the magnitude of a number exceeds the range allowed by the size of the bit field. The sum of two identically-signed numbers may very well exceed the range of the bit field of those two numbers, and so in this case overflow is a possibility.
User Praveen Angyan
by
4.8k points