Article ID: 124345 - Last Review: August 9, 2004 - Revision: 3.2 Updated Calculator Accessory for WindowsThis article was previously published under Q124345 IntroductionThe WW1138.EXE file contains an updated version of the Calculator accessory that is shipped with Microsoft Windows 3.1x and Windows for Workgroups 3.1x. Previous versions of Calculator display simple subtraction errors when you subtract two numbers that include values to the right of the decimal point. While Calculator is determining how to display the solution, it encounters a loss of precision and shows an incorrect answer.NOTE: This rounding error is unrelated to the floating-point unit (FPU) in the Intel(R) Pentium(R) chip. This problem occurs only in Calculator and does not affect Windows, other components in Windows, or other Windows-based applications. In addition to correcting the problem described above, the new rounding algorithm in Calculator causes it to perform more like most hand-held calculators. For example, if you enter the following equation in the updated Calculator accessory or in a hand-held calculator
[(1/3 + 10 - 10) x 3]
the result is 0.9999. The result in previous versions of
Calculator is 1.0. The value 0.9999 is generated because significant digits are
lost by adding and subtracting 10. This is a secondary effect of the changes
made in Calculator to correct the precision errors. To install the updated filesThe following file is available for download from the Microsoft Download Center:Collapse this image 119591
(http://support.microsoft.com/kb/119591/EN-US/
)
How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most
current virus-detection software that was available on the date that the file
was posted. The file is stored on security-enhanced servers that help to
prevent any unauthorized changes to the file.
Steps to Reproduce Problem Using Previous Versions of Calculator
0.00 The updated Calculator accessory displays the correct result,
which is .01. 0.0099999999 0.010000001 | Article Translations
|
Back to the top
