Home
last modified time | relevance | path

Searched refs:fVal1 (Results 1 – 6 of 6) sorted by relevance

/trunk/main/sc/source/core/tool/
H A Dsubtotal.cxx39 fVal1 += fVal2; in SafePlus()
40 if (!::rtl::math::isFinite(fVal1)) in SafePlus()
44 fVal1 = DBL_MAX; in SafePlus()
46 fVal1 = -DBL_MAX; in SafePlus()
56 fVal1 *= fVal2; in SafeMult()
57 if (!::rtl::math::isFinite(fVal1)) in SafeMult()
60 fVal1 = DBL_MAX; in SafeMult()
66 sal_Bool SubTotal::SafeDiv(double& fVal1, double fVal2) in SafeDiv() argument
70 fVal1 /= fVal2; in SafeDiv()
71 if (!::rtl::math::isFinite(fVal1)) in SafeDiv()
[all …]
H A Dinterpr5.cxx1160 double fVal1 = 0.0, fVal2 = 0.0; in CalculateAddSub() local
1191 fVal1 = GetDouble(); in CalculateAddSub()
1234 fVal = fVal1; in CalculateAddSub()
1393 double fVal1 = 0.0, fVal2 = 0.0; in ScMul() local
1413 fVal1 = GetDouble(); in ScMul()
1437 fVal = fVal1; in ScMul()
1459 PushDouble(fVal1 * fVal2); in ScMul()
1488 fVal1 = GetDouble(); in ScDiv()
1513 fVal = fVal1; in ScDiv()
1578 fVal1 = GetDouble(); in ScPow()
[all …]
H A Dinterpr2.cxx1565 double fVal1 = GetDouble(); // Numerator in ScMod() local
1568 double fResult = fmod(fVal1,fVal2); in ScMod()
1570 ((fVal1 > 0.0 && fVal2 < 0.0) || (fVal1 < 0.0 && fVal2 > 0.0))) in ScMod()
1576 PushDouble( ::rtl::math::approxSub( fVal1, in ScMod()
1577 ::rtl::math::approxFloor(fVal1 / fVal2) * fVal2)); in ScMod()
H A Dinterpr3.cxx2488 double fVal1, fVal2; in ScTTest() local
2494 fVal1 = pMat1->GetDouble(i,j); in ScTTest()
2496 fSum1 += fVal1; in ScTTest()
2498 fSumSqrD += (fVal1 - fVal2)*(fVal1 - fVal2); in ScTTest()
/trunk/main/sc/inc/
H A Dsubtotal.hxx33 static sal_Bool SafePlus( double& fVal1, double fVal2);
34 static sal_Bool SafeMult( double& fVal1, double fVal2);
35 static sal_Bool SafeDiv( double& fVal1, double fVal2);
/trunk/main/sc/source/core/data/
H A Ddptabres.cxx185 …double fVal1 = ( pAgg1 && pAgg1->HasData() ) ? pAgg1->GetResult() : 0.0; // no data is sorted a… in lcl_IsLess() local
191 return bAscending ? ( fVal1 < fVal2 ) : ( fVal1 > fVal2 ); in lcl_IsLess()
216 …double fVal1 = ( pAgg1 && pAgg1->HasData() ) ? pAgg1->GetResult() : 0.0; // no data is sorted a… in lcl_IsEqual() local
222 return rtl::math::approxEqual( fVal1, fVal2 ); in lcl_IsEqual()

Completed in 90 milliseconds