<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - calc: ui: display of cells formatted as fraction partly broken"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=137453">137453</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>calc: ui: display of cells formatted as fraction partly broken
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.5.1 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Calc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>newbie-02@gmx.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
keying '=3333333333/100' in a cell and formatting it as a fraction with the
format-string '?/???' results in 

'-961633963/100'

see discussion in
<a href="https://ask.libreoffice.org/en/question/270785/calc-funny-result-with-cell-formatted-as-fraction/?answer=270852#post-id-270852">https://ask.libreoffice.org/en/question/270785/calc-funny-result-with-cell-formatted-as-fraction/?answer=270852#post-id-270852</a> 

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,</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>