diff options
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/tool/interpr3.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx index ab9efe94d65f..3f04e4d9d2ab 100644 --- a/sc/source/core/tool/interpr3.cxx +++ b/sc/source/core/tool/interpr3.cxx @@ -1599,7 +1599,10 @@ void ScInterpreter::ScLogNormDist( int nMinParamCount ) //expanded, see #i100119 void ScInterpreter::ScStdNormDist() { - PushDouble(integralPhi(GetDouble())); + double fVal = GetDouble(); + if (!rtl::math::isNan(fVal)) + fVal = integralPhi(fVal); + PushDouble(fVal); } void ScInterpreter::ScStdNormDist_MS() |