Apache OpenOffice (AOO) Bugzilla – Issue 91100
Display error with scientific format and 14 decimals on Windows and Solaris/Sparc
Last modified: 2020-07-26 19:43:08 UTC
In a cell enter the formula =1-7E-16 and format the cell with a scientific format of 0.00000000000000E+000 Displayed is 10.00000000000000E+000 instead of 9.99999999999999E-001 (would be 1.00000000000000E+000 if rounded up). A smaller amount of decimals in the format code displays fine. A larger amount of decimals continues to display 10. This occurs on Windows and Solaris/Sparc, but not on Linux/x86. Other values around =1-7E-16 also seem to display fine.
Created attachment 54771 [details] simple examples without function call but only addition
I see the error in SO7PU12, OOo2.3.1, OOo2.4.1, and DEV300m20. I use WinXP.
Convert the numbers to binary. Then you get wrong display: 0.111111111111111111111111111111111111111111111111110100000000 correct display: 0.111111111111111111111111111111111111111111111111110110000000 0.111111111111111111111111111111111111111111111111110010000000
Won't make it for 3.1, targeting to 3.2
OOo3.2 is in show-stopper stage, re-targeting.
Reset assigne to the default "issues@openoffice.apache.org".
twelve years now? and nobody took this bug? it's no fun to get a result *off by a factor of ten!* by a spreadsheet ... could someone provide a code pointer where in this overwhelming big suite that formatting is done?