[PATCH] calc: fix mathematical error in CritBinom

Werner Körner (via_Code_Review) gerrit at gerrit.libreoffice.org
Tue Dec 11 13:38:23 PST 2012


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1301

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/01/1301/1

calc: fix mathematical error in CritBinom

CRITBINOM(462,0.8,0.9), expected result 381, calculated value is 462.
Similar errors in BinomDist, B, CritBinom and NegBinomDist were
fixed by commit 5cf55f5b7800e443c4f087e72ae05abc8b7fef45.

Change-Id: I9b12a1c4410ec72258ae1fb68409ad00c922b94c
---
M sc/source/core/tool/interpr3.cxx
1 file changed, 11 insertions(+), 13 deletions(-)


--
To view, visit https://gerrit.libreoffice.org/1301
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9b12a1c4410ec72258ae1fb68409ad00c922b94c
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Werner Körner <wk661lo at gmail.com>



More information about the LibreOffice mailing list