<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Function "SUM()" work doesn't correct if final result is zerro."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=126970#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Function "SUM()" work doesn't correct if final result is zerro."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=126970">bug 126970</a>
from <span class="vcard"><a class="email" href="mailto:oliver.brinzing@gmx.de" title="Oliver Brinzing <oliver.brinzing@gmx.de>"> <span class="fn">Oliver Brinzing</span></a>
</span></b>
<pre>(In reply to Jean-Baptiste Faure from <a href="show_bug.cgi?id=126970#c3">comment #3</a>)
<span class="quote">> For me the main problem is that SUM(J8:J10) does not give the same result as
> SUM(J8;J9;J10). We have the same behavior in your test file with example in
> column C.</span >
the sum order can influence the result:
<a href="https://www.baeldung.com/java-floating-point-sum-order">https://www.baeldung.com/java-floating-point-sum-order</a>
=SUM(-46,4;4904,28;-4857,88) 0
=SUM(4904,28;-46,4;-4857,88) 0
=SUM(4904,28;-4857,88;-46,4) -3,62376795237651E-13
or:
<a class="bz_bug_link
bz_status_CLOSED bz_closed"
title="CLOSED NOTABUG - precision errors in sum()"
href="show_bug.cgi?id=82865">Bug 82865</a> - precision errors in sum()
-> reproducible with LO 4.4.7.2 (with LO 5/6 result is 0)</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>