summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-01-28 15:38:05 +0200
committerTor Lillqvist <tml@collabora.com>2015-01-28 15:38:46 +0200
commit0f0f0d8cba53d1a0bd7505e15989dd12f96c30fe (patch)
treecec543e8beef04257fdef7eb4a6dbdeefbf36b95
parent328ddd2154061aaff7e1292a6976ccd3d210aef4 (diff)
Add NORMSINV test
Change-Id: I0acdc5012a89d90cab6b30fe26b321d956982586
-rw-r--r--sc/source/ui/optdlg/calcoptionsdlg.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/source/ui/optdlg/calcoptionsdlg.cxx b/sc/source/ui/optdlg/calcoptionsdlg.cxx
index 1b3e13ac1d16..f816ab4cef12 100644
--- a/sc/source/ui/optdlg/calcoptionsdlg.cxx
+++ b/sc/source/ui/optdlg/calcoptionsdlg.cxx
@@ -16,6 +16,7 @@
#include "calcoptionsdlg.hxx"
#include "docfunc.hxx"
#include "docsh.hxx"
+#include "interpre.hxx"
#include "sc.hrc"
#include "scresid.hxx"
#include "scopetools.hxx"
@@ -622,6 +623,12 @@ IMPL_LINK( ScCalcOptionsDialog, TestClickHdl, PushButton*, )
return (nArg == 0);
}));
+ xTestDocument->addTest(UnOp("NormSInv", "NORMSINV", 0, 1, 3e-10,
+ [] (double nArg)
+ {
+ return ScInterpreter::gaussinv(nArg);
+ }));
+
xTestDocument->addTest(Reduction("Sum", "SUM", 100, 0, -1000, 1000, 3e-10,
[] (double nAccum, double nArg)
{