[Libreoffice-bugs] [Bug 114482] New: Circular reference accumulator, err: 523 or miscalculation

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Dec 15 07:56:57 UTC 2017


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

            Bug ID: 114482
           Summary: Circular reference accumulator, err:523 or
                    miscalculation
           Product: LibreOffice
           Version: 5.4.2.2 release
          Hardware: All
                OS: Mac OS X (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: a.burger at liamix.de

Description:
To finish my spreadsheet-sequence I usually let my pupils write a little
car-racing simulation in Excel. At my new school I haven't got Excel at my
disposition, so we do everything with Calc (which is fine generally). However,
there is something that worked fine in Excel that I cannot get to work in Calc.

I need an accumulator field that adds the result of a dice-roll (simulated by
=int(rand()*6)+1) to get the current sum of all prior dice-rolls plus the
current one.

This is possible if you activate iterative calculations. But with my current
settings I most of the time get the following error: 
https://i.stack.imgur.com/XBpY8.png

The settings are as follows: 
https://i.stack.imgur.com/H5XXb.png

I can get the iterative calculation to work if I set "Minimum cange:" to 6. But
when I press F9, the calculation is not correct. It always at least adds double
the dice-value, but oftentimes a value that seems to have no connection to the
show dice value.

In Excel this simply worked using the following settings: 
https://i.stack.imgur.com/02GCR.png
https://i.stack.imgur.com/Zr5ic.png

Calc's behaviour seems to be wrong, no matter what settings I enter for "steps"
and "minimum change".

Steps to Reproduce:
1. set setting according to screenshot
2. add a circular reference
3. press F9

Actual Results:  
err:523 or miscalculations (seems like two iterations at a time)

Expected Results:
On every press of F9 the new "dice-value" should be calculated and added to the
accumulator field.


Reproducible: Always


User Profile Reset: Yes



Additional Info:


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0)
Gecko/20100101 Firefox/57.0

-- 
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/20171215/07755b8a/attachment.html>


More information about the Libreoffice-bugs mailing list