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

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Dec 15 06:58:53 UTC 2020


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

--- Comment #30 from Mike Kaganski <mikekaganski at hotmail.com> ---
(In reply to b. from comment #29)
> the '31000,99' sample there is less a problem of the weak precision how
> values are represented as 'doubles', but of 'catastrophic cancellation' when
> subtracting two operands of similar magnitude, and lack of appropriate
> handling of such in LO calc, C++, or whereever. just filling the 'tail'
> (which is empty reg. bit shifting) with '0' is insufficient. it is not
> possible to get a better representation of the operand values with
> 'doubles', but it is! possible to get a better result for the calculation,
> it requires some effort but it is manageable compared to the effort spent to
> handele 100th of display attributes or constructing gradients for
> backgrounds.

I am tired of people who declare things they don't understand (and try to
substitute other's points, making an impression they raise valid arguments).
Just stop spamming already, and send us the patch.

-- 
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/20201215/7faee7c9/attachment.htm>


More information about the Libreoffice-bugs mailing list