lmi-commits
[Top][All Lists]
Advanced

[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);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]