[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] valyuta/004 77c0696 4/6: Improve commentary on 7702
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] valyuta/004 77c0696 4/6: Improve commentary on 7702 and 7702A rounding |
Date: |
Sun, 10 Jan 2021 19:09:18 -0500 (EST) |
branch: valyuta/004
commit 77c06961c9f9592c707e42092f0927375343a22d
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Improve commentary on 7702 and 7702A rounding
---
ihs_avmly.cpp | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/ihs_avmly.cpp b/ihs_avmly.cpp
index f2eb2ff..364a321 100644
--- a/ihs_avmly.cpp
+++ b/ihs_avmly.cpp
@@ -151,14 +151,18 @@ void AccountValue::DoMonthDR()
// + std::max(0.0, ExpRatReserve) // This would be added if it
existed.
);
// TODO ?? TAXATION !! Use CashValueFor7702() instead?
- double max_necessary_premium = Irc7702A_->MaxNecessaryPremium // round
+ // Not already rounded by class Irc7702A.
+ double max_necessary_premium = Irc7702A_->MaxNecessaryPremium
(Dcv
,AnnualTargetPrem.d()
,YearsTotLoadTgtLowestPremtax
,YearsTotLoadExcLowestPremtax
,kludge_account_value.d()
);
- double max_non_mec_premium = Irc7702A_->MaxNonMecPremium // round
+// TAXATION !! Should round here, but need to investigate regressions.
+// max_necessary_premium = round_max_premium()(max_necessary_premium);
+ // Already rounded by class Irc7702A.
+ double max_non_mec_premium = Irc7702A_->MaxNonMecPremium
(Dcv
,AnnualTargetPrem.d()
,YearsTotLoadTgtLowestPremtax
@@ -1148,6 +1152,7 @@ void AccountValue::TxTestGPT()
);
}
+ // Already rounded by class Irc7702.
GptForceout = round_minutiae().c(Irc7702_->Forceout());
// TODO ?? TAXATION !! On other bases, nothing is forced out, and payments
aren't limited.
process_distribution(GptForceout);
- [lmi-commits] [lmi] valyuta/004 updated (96d02bc -> 01d5219), Greg Chicares, 2021/01/10
- [lmi-commits] [lmi] valyuta/004 77c0696 4/6: Improve commentary on 7702 and 7702A rounding,
Greg Chicares <=
- [lmi-commits] [lmi] valyuta/004 4b776cb 1/6: Not to worry, Greg Chicares, 2021/01/10
- [lmi-commits] [lmi] valyuta/004 3739e4b 2/6: Merge branch 'master' into valyuta/004, Greg Chicares, 2021/01/10
- [lmi-commits] [lmi] valyuta/004 4613e4d 3/6: Don't round what's already properly rounded, Greg Chicares, 2021/01/10
- [lmi-commits] [lmi] valyuta/004 3da66bb 5/6: Update notes on git commands, Greg Chicares, 2021/01/10
- [lmi-commits] [lmi] valyuta/004 01d5219 6/6: Record speed measurements, Greg Chicares, 2021/01/10