Integer overflow: Difference between revisions

Content deleted Content added
m Security ramifications: add commas and break up run-on
Line 9:
The [[register width]] of a processor determines the range of values that can be represented. Typical [[Binary numeral system|binary]] register widths include:
 
: 8 bits: maximum representable value 2<sup>8</sup> − 1 = 255,
: 16 bits: maximum representable value 2<sup>16</sup> − 1 = 65,535,
: 32 bits: maximum representable value 2<sup>32</sup> − 1 = 4,294,967,295 (the most common width for personal computers {{As of|2005|lc=on}}),
: 64 bits: maximum representable value 2<sup>64</sup> − 1 = 18,446,744,073,709,551,615,
: 128 bits: maximum representable value 2<sup>128</sup> − 1 = 340,282,366,920,938,463,463,374,607,431,768,211,455