[Bug 90419] Accuracy of calculation in Fill

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Feb 12 09:38:22 UTC 2016


--- Comment #4 from Jaskaran Singh <jvsg1303 at gmail.com> ---
(In reply to Eike Rathke from comment #1)
> While generally all floating point numbers that are not exactly
> representable in an IEEE 754 double lose precision, this specific case of
> filling a series of numbers could be improved by using multiplication
> instead of incrementing (adding delta) values.
> Actually this shouldn't be too hard to solve, I'm creating an EasyHack of
> this.
> Code pointer is sc/source/core/data/table4.cxx ScTable::Fill() and
> subroutines.

How would multiplication result in incrementing the value? And how would that
result in less error?Any Mathematical clues would be nice. And also , how to
reproduce this bug?

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20160212/f9b8becc/attachment.html>

More information about the LibreOffice mailing list