Home
last modified time | relevance | path

Searched refs:fResult (Results 1 – 25 of 30) sorted by relevance

12

/AOO41X/main/chart2/source/view/axes/
H A DDateScaling.cxx71 double fResult(value); in doScaling() local
73 ::rtl::math::setNan( & fResult ); in doScaling()
81 fResult = value; in doScaling()
83 fResult+=0.5; in doScaling()
88 fResult = aDate.GetYear(); in doScaling()
89 fResult *= lcl_fNumberOfMonths;//asssuming equal count of months in each year in doScaling()
90 fResult += aDate.GetMonth(); in doScaling()
95 fResult += fDayOfMonth/fDaysInMonth; in doScaling()
99 fResult += 0.5*lcl_fNumberOfMonths; in doScaling()
101 fResult += 0.5; in doScaling()
[all …]
/AOO41X/main/chart2/source/tools/
H A DScaling.cxx80 double fResult; in doScaling() local
82 ::rtl::math::setNan( & fResult ); in doScaling()
84 fResult = log( value ) / m_fLogOfBase; in doScaling()
85 return fResult; in doScaling()
131 double fResult; in doScaling() local
133 ::rtl::math::setNan( & fResult ); in doScaling()
135 fResult = pow( m_fBase, value ); in doScaling()
136 return fResult; in doScaling()
180 double fResult; in doScaling() local
182 ::rtl::math::setNan( & fResult ); in doScaling()
[all …]
H A DStatisticsHelper.cxx71 double fResult; in lcl_getVariance() local
73 ::rtl::math::setNan( & fResult ); in lcl_getVariance()
78 fResult = (fQuadSum - fSum*fSum/fN) / (fN - 1); in lcl_getVariance()
80 fResult = (fQuadSum - fSum*fSum/fN) / fN; in lcl_getVariance()
83 return fResult; in lcl_getVariance()
190 double fResult = getVariance( rData ); in getStandardDeviation() local
191 if( ! ::rtl::math::isNan( fResult )) in getStandardDeviation()
192 fResult = sqrt( fResult ); in getStandardDeviation()
194 return fResult; in getStandardDeviation()
201 double fResult; in getStandardError() local
[all …]
H A DPotentialRegressionCurveCalculator.cxx106 double fResult; in getCurveValue() local
107 ::rtl::math::setNan( & fResult ); in getCurveValue()
112 fResult = m_fIntercept * pow( x, m_fSlope ); in getCurveValue()
115 return fResult; in getCurveValue()
H A DLogarithmicRegressionCurveCalculator.cxx104 double fResult; in getCurveValue() local
105 ::rtl::math::setNan( & fResult ); in getCurveValue()
110 fResult = m_fSlope * log( x ) + m_fIntercept; in getCurveValue()
113 return fResult; in getCurveValue()
H A DLinearRegressionCurveCalculator.cxx95 double fResult; in getCurveValue() local
96 ::rtl::math::setNan( & fResult ); in getCurveValue()
101 fResult = m_fSlope * x + m_fIntercept; in getCurveValue()
104 return fResult; in getCurveValue()
H A DExponentialRegressionCurveCalculator.cxx105 double fResult; in getCurveValue() local
106 ::rtl::math::setNan( & fResult ); in getCurveValue()
111 fResult = exp(m_fLogIntercept + x * m_fLogSlope); in getCurveValue()
114 return fResult; in getCurveValue()
/AOO41X/main/chart2/source/inc/
H A DCommonFunctors.hxx62 double fResult; in operator ()() local
63 ::rtl::math::setNan( & fResult ); in operator ()()
68 fResult = * reinterpret_cast< const double * >( rAny.getValue() ); in operator ()()
71 return fResult; in operator ()()
114 double fResult = ::rtl::math::stringToDouble( rStr, '.', ',', & eConversionStatus, NULL ); in operator ()() local
117 ::rtl::math::setNan( & fResult ); in operator ()()
119 return fResult; in operator ()()
/AOO41X/main/sc/source/core/tool/
H A Dinterpr3.cxx808 double fResult; in ScGamma() local
813 fResult = GetGamma(x); in ScGamma()
819 PushDouble(fResult); in ScGamma()
860 double fResult = exp(-fA * ::boost::math::log1p(fTempA) in GetBeta() local
862 fResult *= fLanczos; in GetBeta()
863 return fResult; in GetBeta()
889 double fResult = -fA * ::boost::math::log1p(fTempA) in GetLogBeta() local
891 fResult += fLogLanczos; in GetLogBeta()
892 return fResult; in GetLogBeta()
1033 double fResult; in GetBetaDist() local
[all …]
H A Dinterpr2.cxx798 double fResult = -fNPV_reinvest / fNPV_invest; in ScMIRR() local
799 fResult *= pow( fRate1_reinvest, (double) nCount - 1 ); in ScMIRR()
800 fResult = pow( fResult, 1.0 / (nCount - 1) ); in ScMIRR()
801 PushDouble( fResult - 1.0 ); in ScMIRR()
1566 double fResult = fmod(fVal1,fVal2); in ScMod() local
1567 if ( (fResult != 0.0) && in ScMod()
1569 fResult += fVal2 ; in ScMod()
1570 PushDouble( fResult ); in ScMod()
H A Dinterpr5.cxx1922 double fResult = 0.0; in lcl_GetColumnSumProduct() local
1924 fResult += pMatA->GetDouble(nCa,row) * pMatB->GetDouble(nCb,row); in lcl_GetColumnSumProduct()
1925 return fResult; in lcl_GetColumnSumProduct()
1933 double fResult = 0.0; in lcl_TGetColumnSumProduct() local
1935 fResult += pMatA->GetDouble(col,nRa) * pMatB->GetDouble(col,nRb); in lcl_TGetColumnSumProduct()
1936 return fResult; in lcl_TGetColumnSumProduct()
/AOO41X/main/scaddins/source/analysis/
H A Dbessel.cxx193 double fResult = 0.0; in BesselI() local
206 fResult = fTerm; // Start result with TERM(n,0). in BesselI()
231 fResult += fTerm; in BesselI()
234 while( (fabs( fTerm ) > fabs(fResult) * fEpsilon) && (nK < nMaxIteration) ); in BesselI()
237 return fResult; in BesselI()
H A Dfinancial.cxx483 double fResult = V_(0); in lcl_sca_XirrResult() local
485 fResult += V_(i) / pow( r, (D_(i) - D_0) / 365.0 ); in lcl_sca_XirrResult()
486 return fResult; in lcl_sca_XirrResult()
509 double fResult = 0.0; in lcl_sca_XirrResult_Deriv1() local
513 fResult -= E_i * V_(i) / pow( r, E_i + 1.0 ); in lcl_sca_XirrResult_Deriv1()
515 return fResult; in lcl_sca_XirrResult_Deriv1()
H A Danalysishelper.cxx3116 double fResult; in getDouble() local
3117 if( !getDouble( fResult, xPropSet, rAny ) ) in getDouble()
3118 fResult = fDefault; in getDouble()
3119 return fResult; in getDouble()
3127 double fResult; in getInt32() local
3128 sal_Bool bContainsVal = getDouble( fResult, xPropSet, rAny ); in getInt32()
3129 if( (fResult <= -2147483649.0) || (fResult >= 2147483648.0) ) in getInt32()
3132 rnResult = static_cast< sal_Int32 >( fResult ); in getInt32()
/AOO41X/main/sal/inc/rtl/
H A Dmath.hxx145 double fResult = rtl_math_stringToDouble(pBegin, in stringToDouble() local
151 return fResult; in stringToDouble()
164 double fResult = rtl_math_uStringToDouble(pBegin, in stringToDouble() local
170 return fResult; in stringToDouble()
/AOO41X/main/chart2/source/view/charttypes/
H A DVSeriesPlotter.cxx633 double fResult; in lcl_getErrorBarLogicLength() local
634 ::rtl::math::setNan( & fResult ); in lcl_getErrorBarLogicLength()
642 fResult = StatisticsHelper::getVariance( rData ); in lcl_getErrorBarLogicLength()
645 fResult = StatisticsHelper::getStandardDeviation( rData ); in lcl_getErrorBarLogicLength()
658 fResult = rData[nIndex] * fPercent / 100.0; in lcl_getErrorBarLogicLength()
666 : C2U("NegativeError")) >>= fResult; in lcl_getErrorBarLogicLength()
687 fResult = fMaxValue * fPercent / 100.0; in lcl_getErrorBarLogicLength()
693 fResult = StatisticsHelper::getStandardError( rData ); in lcl_getErrorBarLogicLength()
699 fResult = StatisticsHelper::getErrorFromDataSource( in lcl_getErrorBarLogicLength()
710 return fResult; in lcl_getErrorBarLogicLength()
/AOO41X/main/basic/source/runtime/
H A Dmethods.cxx2005 double fResult; in RTLFUNC() local
2007 sal_Bool bSuccess = pFormatter->IsNumberFormat( aStr, nIndex, fResult ); in RTLFUNC()
2021 bSuccess = aFormatter.IsNumberFormat( aStr, nIndex, fResult ); in RTLFUNC()
2030 if ( fResult > 0.0 ) in RTLFUNC()
2031 fResult = floor( fResult ); in RTLFUNC()
2033 fResult = ceil( fResult ); in RTLFUNC()
2036 rPar.Get(0)->PutDate( fResult ); // JSM in RTLFUNC()
2067 double fResult; in RTLFUNC() local
2069 nIndex, fResult ); in RTLFUNC()
2075 fResult = fmod( fResult, 1 ); in RTLFUNC()
[all …]
/AOO41X/main/sw/source/core/fields/
H A Dflddat.cxx174 double fResult = rDT - DateTime(*pNullDate); in GetDateTime() local
176 return fResult; in GetDateTime()
/AOO41X/main/chart2/source/view/main/
H A DVLegend.cxx75 double fResult = 10.0; in lcl_CalcViewFontSize() local
81 fResult = fFontHeight; in lcl_CalcViewFontSize()
106fResult = ::chart::RelativeSizeHelper::calculate( fFontHeight, aPropRefSize, rReferenceSize ); in lcl_CalcViewFontSize()
116 return (fResult * (2540.0 / 72.0)); in lcl_CalcViewFontSize()
/AOO41X/main/sc/source/core/data/
H A Ddptabres.cxx538 double fResult = 0.0; in Calculate() local
548 fResult = fVal; in Calculate()
553 fResult = nCount; in Calculate()
558 fResult = fVal / (double) nCount; in Calculate()
565 fResult = sqrt((fAux - fVal*fVal/(double)(nCount)) / (double)(nCount-1)); in Calculate()
569 fResult = (fAux - fVal*fVal/(double)(nCount)) / (double)(nCount-1); in Calculate()
573 fResult = sqrt((fAux - fVal*fVal/(double)(nCount)) / (double)nCount); in Calculate()
577 fResult = (fAux - fVal*fVal/(double)(nCount)) / (double)nCount; in Calculate()
600 fResult = 0.0; // default, in case the state is later modified in Calculate()
603 fVal = fResult; // used directly from now on in Calculate()
/AOO41X/main/chart2/source/controller/dialogs/
H A DDataBrowserModel.cxx600 double fResult; in getCellNumber() local
601 ::rtl::math::setNan( & fResult ); in getCellNumber()
613 fResult = aValues[nAtRow]; in getCellNumber()
616 return fResult; in getCellNumber()
H A DDataBrowser.cxx725 double fResult; in GetCellNumber() local
726 ::rtl::math::setNan( & fResult ); in GetCellNumber()
731 fResult = m_apDataBrowserModel->getCellNumber( in GetCellNumber()
735 return fResult; in GetCellNumber()
/AOO41X/main/sal/rtl/source/
H A Dmath.cxx1249 double fResult; in rtl_math_acosh() local
1250 ::rtl::math::setNan( &fResult ); in rtl_math_acosh()
1251 return fResult; in rtl_math_acosh()
/AOO41X/main/sc/workben/
H A Dtest.cxx785 double fResult; in lcl_Goal() local
794 BOOL bFound = xGoal->doGoalSeek(fResult, aFormula, aVar, L"42"); in lcl_Goal()
805 xCell->setValue(fResult); in lcl_Goal()
/AOO41X/main/sal/qa/rtl_strings/
H A Drtl_OString.cxx2856 float fResult = (float) fabs(fA - fB); in test_rtl_OString_toFloat() local
2858 t_print("float result: A:(%E) B:(%E) fabs(A-B):%E\n", fA, fB, (float) fResult); in test_rtl_OString_toFloat()
2859 sal_Bool lastRes = ( fResult <= fPrec ); in test_rtl_OString_toFloat()

12