Rounding ErrorsRounding means shortening the fractional part of the number. Computer programs have a limit to the amount of precision that numbers can be stored. SHAZAM is designed to retain the maximum number of digits possible in computer memory, even if they are not all printed on the output file. SHAZAM also uses highly accurate computer algorithms to minimize the impact of rounding errors. Although rounding errors may appear to be a trivial problem, the cumulative effect of rounding errors can have a significant impact on numerical calculations. To illustrate this point, the following example has been created. In each successive row, one significant digit is dropped and the numbers are rounded. By comparing the products of the four numbers in each successive row, the effect of rounding errors can be seen.
Note the difference between the products in the first and last row. There is a 48 percentage change between the numbers. It should now be clear that rounding errors can significantly alter numerical results. The Pentium BugRounding error became the subject of much public discussion and controversy in 1994 when problems with the pentium chip were described in computer newsgroups. The pentium is the 64-bit microprocessor for the PC developed by Intel as the successor to the 386 and 486 microprocessors. Consider the following calculation:
( (4195835 / 3145727) * 3145727) The result should be 0.
But computers with the faulty pentium chip get the result
SHAZAM can detect the presence of the pentium bug with the
[SHAZAM Guide home] |