Translate German variable name
Korr -> Corr in math Change-Id: I33c3d0fa62aa0c4b6fd418ba2e49b90b019b8714 Reviewed-on: https://gerrit.libreoffice.org/48782 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user