Apache OpenOffice (AOO) Bugzilla – Issue 74209
wrong computations with respect to equality
Last modified: 2013-08-07 15:14:21 UTC
Hello. Since the previous version (2.0.4) I noticed something peculiar which now turned out to be an actual bug. See the attached sample file. The idea is that given a simple addition of non-integer numbers with opposite signs, the result is not recognized as being equal to what it should be, although it is displayed correctly... The cells in question are A1 and A2. Their sum is computed in B4 and also entered by hand in B2. Surprise, C2 indicates inequality between the computed result and the would-be result. Given the purpose of Calc, I consider this to be quite a severe bug.
Created attachment 42776 [details] sample file
Hi Eike, could we do something to fix it ? Frank
The usual IEEE 754 floating-point behavior. If you increase the displayed decimals in the number format of cell B4 to 14 digits you'll see that the result is not 6.41 but 6.40999999999997 instead. *** This issue has been marked as a duplicate of 69749 ***
The Issue you raised has been marked as 'Resolved' and not updated within the last 1 year+. I am therefore setting this issue to 'Verified' as the first step towards Closing it. If you feel this is incorrect, please re-open the issue and add any comments. Many thanks, Andrew Cleaning-up and Closing old Issues ~ The Grand Bug Squash, pre v3 ~ http://marketing.openoffice.org/3.0/announcementbeta.html
As per previous posting: Verified -> Closed. A Closed Issue is a Happy Issue (TM). Regards, Andrew