[Libreoffice-bugs] [Bug 130725] ImpSvNumberInputScan::StringToDouble may produce inaccurate result

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Feb 24 20:30:49 UTC 2020


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

--- Comment #22 from Mike Kaganski <mikekaganski at hotmail.com> ---
(In reply to Jonny Grant from comment #21)
> Just accurate decimal precision, up to 8 would be ideal for most accountants etc
> we work with. If coded in a soft decimal lib, that's only 27 bits, but I
> appreciate, you'd have to code this in software, as compilers just generate
> code for double precision.

Oh.
LibreOffice uses IEEE 754 double precision, which has 53 bits mantissa, and so
no less than 15 decimal digits precision. That is much higher than 8 decimal
digits that that you look for. You seem to not understand the precision, those
...99999... confusing you.

-- 
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/20200224/d27d3721/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list