Integer overflow: Difference between revisions

Content deleted Content added
Line 13:
 
A "wrap around" corresponds to the fact, that e.g. if the addition two positive integers produces an overflow, it may result in a negative number. In counting, one just starts over again from the bottom.
Example: 816 bit signed integer: 30000 + 30000 = -5536.
 
<!-- Diagram that illustrates wrapping behavior of integer representation. -->