Lines Matching refs:fPrice
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()
346 sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nIssue, double fRate, double fPrice, const ANY& rOB ) in getYieldmat() argument
352 …double fRet = GetYieldmat( GetNullDate( xOpt ), nSettle, nMat, nIssue, fRate, fPrice, getDateMode… in getYieldmat()
391 …AnalysisAddIn::getTbillyield( constREFXPS& xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fPrice ) in getTbillyield() argument
397 if( fPrice <= 0.0 || nSettle >= nMat || nDiff > 360 ) in getTbillyield()
401 fRet /= fPrice; in getTbillyield()
424 double fRate, double fPrice, double fRedemp, sal_Int32 nFreq, const ANY& rOB ) THROWDEF_RTE_IAE in getOddfyield() argument
426 …if( fRate < 0 || fPrice <= 0 || CHK_Freq || nMat <= nFirstCoup || nFirstCoup <= nSettle || nSettle… in getOddfyield()
429 …etOddfyield( GetNullDate( xOpt ), nSettle, nMat, nIssue, nFirstCoup, fRate, fPrice, fRedemp, nFreq, in getOddfyield()
450 double fRate, double fPrice, double fRedemp, sal_Int32 nFreq, const ANY& rOB ) THROWDEF_RTE_IAE in getOddlyield() argument
452 if( fRate < 0 || fPrice <= 0 || CHK_Freq || nMat <= nSettle || nSettle <= nLastInterest ) in getOddlyield()
455 …double fRet = GetOddlyield( GetNullDate( xOpt ), nSettle, nMat, nLastInterest, fRate, fPrice, fRed… in getOddlyield()