Lines Matching refs:fRet

37 …double fRet = GetAmordegrc( GetNullDate( xOpt ), fCost, nDate, nFirstPer, fRestVal, fPer, fRate, g…  in getAmordegrc()  local
38 RETURN_FINITE( fRet ); in getAmordegrc()
49 …double fRet = GetAmorlinc( GetNullDate( xOpt ), fCost, nDate, nFirstPer, fRestVal, fPer, fRate, ge… in getAmorlinc() local
50 RETURN_FINITE( fRet ); in getAmorlinc()
63 …double fRet = fVal * fRate * GetYearDiff( GetNullDate( xOpt ), nIssue, nSettle, getDateMode( xOpt,… in getAccrint() local
64 RETURN_FINITE( fRet ); in getAccrint()
76 …double fRet = fVal * fRate * GetYearDiff( GetNullDate( xOpt ), nIssue, nSettle, getDateMode( xOpt,… in getAccrintm() local
77 RETURN_FINITE( fRet ); in getAccrintm()
87 …double fRet = fInvest / ( 1.0 - ( fDisc * GetYearDiff( GetNullDate( xOpt ), nSettle, nMat, getDate… in getReceived() local
88 RETURN_FINITE( fRet ); in getReceived()
97 …double fRet = ( 1.0 - fPrice / fRedemp ) / GetYearFrac( xOpt, nSettle, nMat, getDateMode( xOpt, rO… in getDisc() local
98 RETURN_FINITE( fRet ); in getDisc()
109 …double fRet = GetDuration( GetNullDate( xOpt ), nSettle, nMat, fCoup, fYield, nFreq, getDateMode(… in getDuration() local
110 RETURN_FINITE( fRet ); in getDuration()
121 double fRet = pow( 1.0 + fNominal / fPeriods, fPeriods ) - 1.0; in getEffect() local
122 RETURN_FINITE( fRet ); in getEffect()
209 …double fRet = getPrice_( GetNullDate( xOpt ), nSettle, nMat, fRate, fYield, fRedemp, nFreq, getDat… in getPrice() local
210 RETURN_FINITE( fRet ); in getPrice()
220 …double fRet = fRedemp * ( 1.0 - fDisc * GetYearDiff( GetNullDate( xOpt ), nSettle, nMat, getDateMo… in getPricedisc() local
221 RETURN_FINITE( fRet ); in getPricedisc()
239 double fRet = 1.0 + fIssMat * fRate; in getPricemat() local
240 fRet /= 1.0 + fSetMat * fYield; in getPricemat()
241 fRet -= fIssSet * fRate; in getPricemat()
242 fRet *= 100.0; in getPricemat()
244 RETURN_FINITE( fRet ); in getPricemat()
255 …double fRet = GetDuration( GetNullDate( xOpt ), nSettle, nMat, fCoup, fYield, nFreq, getDate… in getMduration() local
256 fRet /= 1.0 + ( fYield / double( nFreq ) ); in getMduration()
257 RETURN_FINITE( fRet ); in getMduration()
267 double fRet = ( pow( fRate + 1.0, 1.0 / fPeriods ) - 1.0 ) * fPeriods; in getNominal() local
268 RETURN_FINITE( fRet ); in getNominal()
280 double fRet = modf( fDollarDec, &fInt ); in getDollarfr() local
282 fRet *= fFrac; in getDollarfr()
284 fRet *= pow( 10.0, -ceil( log10( fFrac ) ) ); in getDollarfr()
286 fRet += fInt; in getDollarfr()
288 RETURN_FINITE( fRet ); in getDollarfr()
300 double fRet = modf( fDollarFrac, &fInt ); in getDollarde() local
302 fRet /= fFrac; in getDollarde()
304 fRet *= pow( 10.0, ceil( log10( fFrac ) ) ); in getDollarde()
306 fRet += fInt; in getDollarde()
308 RETURN_FINITE( fRet ); in getDollarde()
319 …double fRet = getYield_( GetNullDate( xOpt ), nSettle, nMat, fCoup, fPrice, fRedemp, nFreq, getDat… in getYield() local
320 RETURN_FINITE( fRet ); in getYield()
333 double fRet = 1.0 - fPrice / fRedemp; in getYielddisc()
334 fRet /= GetYearFrac( nNullDate, nSettle, nMat, getDateMode( xOpt, rOB ) ); in getYielddisc()
335 fRet /= 0.99795; // don't know what this constant means in original in getYielddisc()
338 double fRet = ( fRedemp / fPrice ) - 1.0; in getYielddisc() local
339 fRet /= GetYearFrac( nNullDate, nSettle, nMat, getDateMode( xOpt, rOB ) ); in getYielddisc()
341 RETURN_FINITE( fRet ); in getYielddisc()
352 …double fRet = GetYieldmat( GetNullDate( xOpt ), nSettle, nMat, nIssue, fRate, fPrice, getDateMode… in getYieldmat() local
353 RETURN_FINITE( fRet ); in getYieldmat()
367 double fRet = ( 365 * fDisc ) / ( 360 - ( fDisc * double( nDiff ) ) ); in getTbilleq() local
368 RETURN_FINITE( fRet ); in getTbilleq()
386 double fRet = 100.0 * ( 1.0 - fDisc * fFraction ); in getTbillprice() local
387 RETURN_FINITE( fRet ); in getTbillprice()
400 double fRet = 100.0; in getTbillyield() local
401 fRet /= fPrice; in getTbillyield()
402 fRet--; in getTbillyield()
403 fRet /= double( nDiff ); in getTbillyield()
404 fRet *= 360.0; in getTbillyield()
406 RETURN_FINITE( fRet ); in getTbillyield()
417 …double fRet = GetOddfprice( GetNullDate( xOpt ), nSettle, nMat, nIssue, nFirstCoup, fRate, fYield,… in getOddfprice() local
418 RETURN_FINITE( fRet ); in getOddfprice()
429 …double fRet = GetOddfyield( GetNullDate( xOpt ), nSettle, nMat, nIssue, nFirstCoup, fRate, fPrice,… in getOddfyield() local
431 RETURN_FINITE( fRet ); in getOddfyield()
442 …double fRet = GetOddlprice( GetNullDate( xOpt ), nSettle, nMat, nLastInterest, fRate, fYield, fRed… in getOddlprice() local
444 RETURN_FINITE( fRet ); in getOddlprice()
455 …double fRet = GetOddlyield( GetNullDate( xOpt ), nSettle, nMat, nLastInterest, fRate, fPrice, fRed… in getOddlyield() local
457 RETURN_FINITE( fRet ); in getOddlyield()
601 double fRet = 0.0; in getXnpv() local
606 fRet += *aValList.Get( i ) / ( pow( fRate, ( *aDateList.Get( i ) - fNull ) / 365.0 ) ); in getXnpv()
608 RETURN_FINITE( fRet ); in getXnpv()
618 …double fRet = ( ( fRedemp / fInvest ) - 1.0 ) / GetYearDiff( GetNullDate( xOpt ), nSettle, nMat, g… in getIntrate() local
619 RETURN_FINITE( fRet ); in getIntrate()
626 double fRet = GetCoupncd( GetNullDate( xOpt ), nSettle, nMat, nFreq, getDateMode( xOpt, rOB ) ); in getCoupncd() local
627 RETURN_FINITE( fRet ); in getCoupncd()
634 … double fRet = GetCoupdays( GetNullDate( xOpt ), nSettle, nMat, nFreq, getDateMode( xOpt, rOB ) ); in getCoupdays() local
635 RETURN_FINITE( fRet ); in getCoupdays()
642 …double fRet = GetCoupdaysnc( GetNullDate( xOpt ), nSettle, nMat, nFreq, getDateMode( xOpt, rOB ) ); in getCoupdaysnc() local
643 RETURN_FINITE( fRet ); in getCoupdaysnc()
650 … double fRet = GetCoupdaybs( GetNullDate( xOpt ), nSettle, nMat, nFreq, getDateMode( xOpt, rOB ) ); in getCoupdaybs() local
651 RETURN_FINITE( fRet ); in getCoupdaybs()
658 double fRet = GetCouppcd( GetNullDate( xOpt ), nSettle, nMat, nFreq, getDateMode( xOpt, rOB ) ); in getCouppcd() local
659 RETURN_FINITE( fRet ); in getCouppcd()
666 double fRet = GetCoupnum( GetNullDate( xOpt ), nSettle, nMat, nFreq, getDateMode( xOpt, rOB ) ); in getCoupnum() local
667 RETURN_FINITE( fRet ); in getCoupnum()