Problem Note 13464: Floating point equality comparisons inaccurate
Floating point calculations do not always produce expected results.
For example:
39 * .1 = 3.9 Does NOT work
9.3 * .1 = .93 Does NOT work
3.1 * .3 = .93 Does NOT work
.93 * .1 = .093 Does NOT work
.67 * .14 = .0938 Does NOT work
.73 * .133 = .09709 Does NOT work
.798 * .123 = .097047 Does NOT work
.12187601 = .12187601 Works
.31 * .3 = .093 Works
A fix for this issue is available at:
http://www.sas.com/techsup/download/hotfix/int_mgmt12.html#013464
Operating System and Release Information
| SAS System | SAS Interaction Management | Microsoft Windows 2000 Professional | 1.2 | | 8.2 TS2M0 | |
| Microsoft Windows XP Professional | 1.2 | | 8.2 TS2M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Problem Note |
| Priority: | high |
| Date Modified: | 2004-10-18 09:02:55 |
| Date Created: | 2004-09-28 09:13:45 |