summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAlbert Thuswaldner <albert.thuswaldner@gmail.com>2012-08-01 01:26:25 +0200
committerEike Rathke <erack@redhat.com>2012-08-10 16:08:55 +0200
commit1f62afae0fd04236005be70736cf7ab059a10778 (patch)
tree67ddd7ca1931ad9edd71e113ee0dc1ef5c7a7139 /sc
parent6dcb3d4ef46312729bb6f16c473b433474863f68 (diff)
fdo#43135 - fix for MULTINOMIAL only supporting parameters up to 170
Change-Id: I9366de24414fa10e292e42df08a9658d90e5c1c1
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/interpr3.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx
index 385ca9bdd85d..933775c90452 100644
--- a/sc/source/core/tool/interpr3.cxx
+++ b/sc/source/core/tool/interpr3.cxx
@@ -462,6 +462,9 @@ double ScInterpreter::Fakultaet(double x)
double ScInterpreter::BinomKoeff(double n, double k)
{
+ // this method has been duplicated as BinomialCoefficient()
+ // in scaddins/source/analysis/analysishelper.cxx
+
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "sc", "er", "ScInterpreter::BinomKoeff" );
double nVal = 0.0;
k = ::rtl::math::approxFloor(k);