summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-10-25 00:17:15 +0200
committerEike Rathke <erack@redhat.com>2015-10-25 00:28:33 +0200
commit14cd70ba5af2dcd47dbeafe9cbbb43662448d454 (patch)
tree086d6df4ab53365b2ef075ff2731780db6ff1015 /sc
parent4607005c380f230d8a44671f91a456598dfe6081 (diff)
Revert "crashtestig: infinite recurse in ooo32833-1.sxc"
This reverts commit d2a07cd3214af27c5af601992e3c4a1a6e3b3dad. We now ensure in sal that calling rtl_math_erfc() with NaN actually works and returns a result as defined.
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/interpr3.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx
index c85edcdb94df..eb8e0d99f544 100644
--- a/sc/source/core/tool/interpr3.cxx
+++ b/sc/source/core/tool/interpr3.cxx
@@ -1599,10 +1599,7 @@ void ScInterpreter::ScLogNormDist( int nMinParamCount ) //expanded, see #i100119
void ScInterpreter::ScStdNormDist()
{
- double fVal = GetDouble();
- if (!rtl::math::isNan(fVal))
- fVal = integralPhi(fVal);
- PushDouble(fVal);
+ PushDouble(integralPhi(GetDouble()));
}
void ScInterpreter::ScStdNormDist_MS()