[Libreoffice-bugs] [Bug 100254] Incorrect import of BIG INTEGER as Decimal(18) from CSV

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Nov 11 14:06:11 UTC 2019


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

Eike Rathke <erack at redhat.com> changed:

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

--- Comment #31 from Eike Rathke <erack at redhat.com> ---
See also further above
https://opengrok.libreoffice.org/xref/core/sal/rtl/math.cxx?r=be8da979#283 for
how representable integer values are handled. If it reaches line 381 it means
the value is no such.

The error is on user side to import the ID values as numeric instead of text.
Floating point IEEE 754 double precision values are limited in their accuracy,
the largest representable unambiguous whole integer number is (2^53)-1 or
9007199254740991.

-- 
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/20191111/8e777478/attachment-0001.html>


More information about the Libreoffice-bugs mailing list