<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Integer overflow - Page 3 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Integer_overflow&amp;p=2">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Integer_overflow&amp;p=4">3.Next</a>
</p>
<p>high-order bit is interpreted as the sign (0 for +, 1 for -).For example, in a 32-bit word, an unsigned integer has a value from 0 to 1=2<sup>32</sup> - 1 = 4,294,967,295, while a signed integer has a value from 1=-2<sup>31</sup> = -2,147,483,648 to 1=2<sup>31</sup> - 1 = 2,147,483,647.</p>

<p>Integer overflow results in a stored value which is different from the mathematical value indicated by the operation which was performed. Most commonly, the resulting bit-pattern is the same as if the operation was performed modulo 2<sup>W</sup>, where</p><p>
<a accesskey="1" href="page.php?w=Integer_overflow&amp;p=2">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Integer_overflow&amp;p=4">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
