Now use the controls to increase the maximum integer to 4. An overflow error occurs when either the numerator or the denominator of the result would be either smaller than the minimum integer or larger than the maximum integer. Note that overflow can occur in the middle of a complicated expression, even though the answer can be represented in a rational number system. The simulator will report the overflow that occurs when it tries to add 4 and 4. Be sure that you understand the difference.
Exercises Use the simulator to get a better feel for what overflow is.
Experiment with different minimum integers, maximum integers, and arithmetic calculations. Below are several arithmetic calculations. Use the simulator to verify your answers. Last modified 24Feb97.