Searched refs:fNumOfCoups (Results 1 – 1 of 1) sorted by relevance
967 double fNumOfCoups = GetCoupnum( nNullDate, nSettle, nMat, nFreq, nBase ); in GetDuration() local974 double nDiff = fYearfrac * nFreq - fNumOfCoups; in GetDuration()978 for( t = 1.0 ; t < fNumOfCoups ; t++ ) in GetDuration()981 fDur += ( fNumOfCoups + nDiff ) * ( fCoup + f100 ) / pow( fYield, fNumOfCoups + nDiff ); in GetDuration()984 for( t = 1.0 ; t < fNumOfCoups ; t++ ) in GetDuration()987 p += ( fCoup + f100 ) / pow( fYield, fNumOfCoups + nDiff ); in GetDuration()
Completed in 17 milliseconds