First page Back Continue Last page Overview Graphics
Number Overflow
Overflow occurs when the value that we compute cannot fit into the number of bits we have allocated for the result. For example, if each value is stored using eight bits, adding 127 to 3 overflows.
- 1111111
- + 0000011
- 10000010
Overflow is a classic example of the type of problems we encounter by mapping an infinite world onto a finite machine.
Hackers love this stuff!!!