[Libreoffice-bugs] [Bug 128312] Calculation involing some decimals return incorrect floats with 12 d.p.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Oct 22 04:57:29 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=128312

Mike Kaganski <mikekaganski at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTABUG
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Mike Kaganski <mikekaganski at hotmail.com> ---
This is normal: computers represent numbers as binary numbers, and not all
decimal numbers are representable as finite binary floating-point numbers.
E.g., a simple 0.1 is not finite in binary form.

See http://en.wikipedia.org/wiki/Floating_point#Accuracy_problems.

Users working with fractional numbers should account for that.

Closing NOTABUG.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191022/6b67fc26/attachment.html>


More information about the Libreoffice-bugs mailing list