[Libreoffice-bugs] [Bug 137453] New: calc: ui: display of cells formatted as fraction partly broken
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Oct 13 12:50:53 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=137453
Bug ID: 137453
Summary: calc: ui: display of cells formatted as fraction
partly broken
Product: LibreOffice
Version: 3.5.1 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: newbie-02 at gmx.de
Description:
keying '=3333333333/100' in a cell and formatting it as a fraction with the
format-string '?/???' results in
'-961633963/100'
see discussion in
https://ask.libreoffice.org/en/question/270785/calc-funny-result-with-cell-formatted-as-fraction/?answer=270852#post-id-270852
assumed a bug resulting from integer overflow of the enumerator, as fails start
at 2147483648 for it, 2<sup>31</sup>
calc ver 3.5.1.2 holds til somewhat around '=1,5623*(2^38)/100'
(429441754020/100) but e.g. displays 4294960000 for '=429496000000/100' despite
formatted as fraction with format code '?/100', thus also 'not clean', setting
ver. to oldest, setting 'regression',
i've not yet checked if calculating works well for all cases, but have seen
some which did,
Steps to Reproduce:
1. see above description,
2. replay,
3. observe results,
Actual Results:
-961633963/100
Expected Results:
3333333333/100
Reproducible: Always
User Profile Reset: No
Additional Info:
different versions, see description, as of yet tested only with win, recheck
with lin appreciated,
--
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/20201013/db459b15/attachment.htm>
More information about the Libreoffice-bugs
mailing list