Integer overflow: Difference between revisions

Content deleted Content added
DSisyphBot (talk | contribs)
m robot Modifying: fr:Dépassement d'entier
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: 8 bit signed integer: 300030000 + 300030000 = -5536.
 
<!-- Diagram that illustrates wrapping behavior of integer representation. -->