Home
last modified time | relevance | path

Searched refs:fPrice (Results 1 – 4 of 4) sorted by relevance

/trunk/main/scaddins/source/analysis/
H A Dfinancial.cxx93 sal_Int32 nSettle, sal_Int32 nMat, double fPrice, double fRedemp, const ANY& rOB ) in getDisc() argument
95 if( fPrice <= 0.0 || fRedemp <= 0.0 || nSettle >= nMat ) in getDisc()
97 …double fRet = ( 1.0 - fPrice / fRedemp ) / GetYearFrac( xOpt, nSettle, nMat, getDateMode( xOpt, rO… in getDisc()
310 …sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fPrice, double fRedemp, sal_Int32 nFreq, c… in getYield() argument
312 if( fCoup < 0.0 || fPrice <= 0.0 || fRedemp <= 0.0 || CHK_Freq || nSettle >= nMat ) in getYield()
315 …double fRet = getYield_( GetNullDate( xOpt ), nSettle, nMat, fCoup, fPrice, fRedemp, nFreq, getDat… in getYield()
321 sal_Int32 nSettle, sal_Int32 nMat, double fPrice, double fRedemp, const ANY& rOB ) in getYielddisc() argument
323 if( fPrice <= 0.0 || fRedemp <= 0.0 || nSettle >= nMat ) in getYielddisc()
329 double fRet = 1.0 - fPrice / fRedemp; in getYielddisc()
334 double fRet = ( fRedemp / fPrice ) - 1.0; in getYielddisc()
[all …]
H A Danalysis.hxx207 … getDisc( constREFXPS& xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fPrice, double fRedemp, c…
219 …nstREFXPS& xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fPrice, double fRedemp, s…
220 …tYielddisc( constREFXPS& xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fPrice, double fRedemp, c…
221 …al_Int32 nSettle, sal_Int32 nMat, sal_Int32 nIssue, double fRate, double fPrice, const ANY& rOptBa…
224 … SAL_CALL getTbillyield( constREFXPS& xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fPrice );
226 …Int32 nMat, sal_Int32 nIssue, sal_Int32 nFirstCoup, double fRate, double fPrice, double fRedemp, s…
228 …2 nSettle, sal_Int32 nMat, sal_Int32 nLastInterest, double fRate, double fPrice, double fRedemp, s…
H A Danalysishelper.cxx996 double fRate, double fPrice, sal_Int32 nBase ) in GetYieldmat() argument
1003 y /= fPrice / 100.0 + fIssSet * fRate; in GetYieldmat()
1084 …ble getYield_( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fPrice, in getYield_() argument
1095 for( sal_uInt32 nIter = 0 ; nIter < 100 && fPriceN != fPrice ; nIter++ ) in getYield_()
1099 if( fPrice == fPrice1 ) in getYield_()
1101 else if( fPrice == fPrice2 ) in getYield_()
1103 else if( fPrice == fPriceN ) in getYield_()
1105 else if( fPrice < fPrice2 ) in getYield_()
1114 if( fPrice < fPriceN ) in getYield_()
1125 … fYieldN = fYield2 - ( fYield2 - fYield1 ) * ( ( fPrice - fPrice2 ) / ( fPrice1 - fPrice2 ) ); in getYield_()
[all …]
H A Danalysishelper.hxx108 double fRate, double fPrice, sal_Int32 nBase );
112 … getYield_( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fPrice,
117 sal_Int32 nFirstCoup, double fRate, double fPrice, double fRedemp,
122 … double fRate, double fPrice, double fRedemp, sal_Int32 nFreq, sal_Int32 nBase );