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: [email protected]
Reporter: [email protected]
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._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs