Searched refs:fPrice (Results 1 – 4 of 4) sorted by relevance
| /AOO42X/main/scaddins/source/analysis/ |
| H A D | financial.cxx | 93 …sal_Int32 nSettle, sal_Int32 nMat, double fPrice, double fRedemp, const ANY& rOB ) THROWDEF_RTE_IAE 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() 313 …sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fPrice, double fRedemp, sal_Int32 nFreq, c… in getYield() argument 316 if( fCoup < 0.0 || fPrice <= 0.0 || fRedemp <= 0.0 || CHK_Freq || nSettle >= nMat ) in getYield() 319 …double fRet = getYield_( GetNullDate( xOpt ), nSettle, nMat, fCoup, fPrice, fRedemp, nFreq, getDat… in getYield() 325 …sal_Int32 nSettle, sal_Int32 nMat, double fPrice, double fRedemp, const ANY& rOB ) THROWDEF_RTE_IAE in getYielddisc() argument 327 if( fPrice <= 0.0 || fRedemp <= 0.0 || nSettle >= nMat ) in getYielddisc() 333 double fRet = 1.0 - fPrice / fRedemp; in getYielddisc() 338 double fRet = ( fRedemp / fPrice ) - 1.0; in getYielddisc() [all …]
|
| H A D | analysis.hxx | 208 … getDisc( constREFXPS& xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fPrice, double fRedemp, c… 220 …nstREFXPS& xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fPrice, double fRedemp, s… 221 …tYielddisc( constREFXPS& xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fPrice, double fRedemp, c… 222 …al_Int32 nSettle, sal_Int32 nMat, sal_Int32 nIssue, double fRate, double fPrice, const ANY& rOptBa… 225 …Tbillyield( constREFXPS& xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fPrice ) THROWDEF_RTE_IAE; 227 …Int32 nMat, sal_Int32 nIssue, sal_Int32 nFirstCoup, double fRate, double fPrice, double fRedemp, s… 229 …2 nSettle, sal_Int32 nMat, sal_Int32 nLastInterest, double fRate, double fPrice, double fRedemp, s…
|
| H A D | analysishelper.cxx | 997 double fRate, double fPrice, sal_Int32 nBase ) THROWDEF_RTE_IAE in GetYieldmat() argument 1004 y /= fPrice / 100.0 + fIssSet * fRate; in GetYieldmat() 1085 …ble getYield_( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fPrice, in getYield_() argument 1096 for( sal_uInt32 nIter = 0 ; nIter < 100 && fPriceN != fPrice ; nIter++ ) in getYield_() 1100 if( fPrice == fPrice1 ) in getYield_() 1102 else if( fPrice == fPrice2 ) in getYield_() 1104 else if( fPrice == fPriceN ) in getYield_() 1106 else if( fPrice < fPrice2 ) in getYield_() 1115 if( fPrice < fPriceN ) in getYield_() 1126 … fYieldN = fYield2 - ( fYield2 - fYield1 ) * ( ( fPrice - fPrice2 ) / ( fPrice1 - fPrice2 ) ); in getYield_() [all …]
|
| H A D | analysishelper.hxx | 111 double fRate, double fPrice, sal_Int32 nBase ) THROWDEF_RTE_IAE; 115 … getYield_( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fPrice, 120 sal_Int32 nFirstCoup, double fRate, double fPrice, double fRedemp, 125 … double fRate, double fPrice, double fRedemp, sal_Int32 nFreq, sal_Int32 nBase ) THROWDEF_RTE_IAE;
|