Kaydet (Commit) d58105e4 authored tarafından Johnny_M's avatar Johnny_M Kaydeden (comit) Michael Stahl

Translate German variable name

Korr -> Corr in math

Change-Id: I33c3d0fa62aa0c4b6fd418ba2e49b90b019b8714
Reviewed-on: https://gerrit.libreoffice.org/48782Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst 22776301
......@@ -75,7 +75,7 @@ static double getN10Exp(int nExp)
namespace {
double const nKorrVal[] = {
double const nCorrVal[] = {
0, 9e-1, 9e-2, 9e-3, 9e-4, 9e-5, 9e-6, 9e-7, 9e-8,
9e-9, 9e-10, 9e-11, 9e-12, 9e-13, 9e-14, 9e-15
};
......@@ -539,7 +539,7 @@ inline void doubleToString(typename T::String ** pResult,
{
int nDigit;
if (nDigits-1 == 0 && i > 0 && i < 14)
nDigit = static_cast< int >(floor( fValue + nKorrVal[15-i]));
nDigit = static_cast< int >(floor( fValue + nCorrVal[15-i]));
else
nDigit = static_cast< int >(fValue + 1E-15);
......@@ -1116,7 +1116,7 @@ double SAL_CALL rtl_math_round(double fValue, int nDecPlaces,
else
nIndex = 15 - nExp;
fValue = floor(fValue + 0.5 + nKorrVal[nIndex]);
fValue = floor(fValue + 0.5 + nCorrVal[nIndex]);
}
break;
case rtl_math_RoundingMode_Down:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment