[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [6408] Regularize layout; move a comment block
From: |
Greg Chicares |
Subject: |
[lmi-commits] [6408] Regularize layout; move a comment block |
Date: |
Sat, 14 Nov 2015 12:27:54 +0000 |
Revision: 6408
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6408
Author: chicares
Date: 2015-11-14 12:27:53 +0000 (Sat, 14 Nov 2015)
Log Message:
-----------
Regularize layout; move a comment block
Modified Paths:
--------------
lmi/trunk/ihs_avmly.cpp
Modified: lmi/trunk/ihs_avmly.cpp
===================================================================
--- lmi/trunk/ihs_avmly.cpp 2015-11-14 12:26:28 UTC (rev 6407)
+++ lmi/trunk/ihs_avmly.cpp 2015-11-14 12:27:53 UTC (rev 6408)
@@ -135,7 +135,7 @@
,CashValueFor7702()
);
- NetPmts[Month] = 0.0; // TODO ?? expunge as being unnecessary
+ NetPmts [Month] = 0.0; // TODO ?? expunge as being unnecessary
GrossPmts[Month] = 0.0; // TODO ?? expunge as being unnecessary
TxExch1035();
// TODO ?? TAXATION !! Is this where spec amt should be increased by GPT?
@@ -268,7 +268,7 @@
// contracts. We deem net payments to have the same proportion
// as gross payments, which we do have for ee and er separately.
- HOPEFULLY(0.0 <= GrossPmts[Month]);
+ HOPEFULLY(0.0 <= GrossPmts[Month]);
HOPEFULLY(0.0 <= EeGrossPmts[Month]);
HOPEFULLY(0.0 <= ErGrossPmts[Month]);
@@ -549,7 +549,7 @@
HOPEFULLY(Year == InforceYear);
HOPEFULLY(Month == InforceMonth);
- HOPEFULLY(0.0 == GrossPmts[Month]);
+ HOPEFULLY(0.0 == GrossPmts[Month]);
HOPEFULLY(0.0 == EeGrossPmts[Month]);
HOPEFULLY(0.0 == ErGrossPmts[Month]);
@@ -1241,6 +1241,23 @@
HOPEFULLY(materially_equal(GrossPmts[Month], EeGrossPmts[Month] +
ErGrossPmts[Month]));
+ // Guideline limits are imposed in the order in which payments are
+ // applied:
+ // 1035 exchanges
+ // employee vector-input premium
+ // employer vector-input premium
+ // dumpin
+ // This order is pretty much arbitrary, except that 1035 exchanges
+ // really must be processed first. An argument could be made for
+ // changing the order of employee and employer premiums. An
+ // argument could be made for grouping dumpin with employee
+ // premiums, at least as long as we treat dumpin as employee
+ // premium. Even though dumpin and 1035 exchanges are similar in
+ // that both are single payments notionally made at issue, it is
+ // not necessary to group them together: 1035 exchanges have a
+ // unique nature that requires them to be recognized before any
+ // premium is paid, and dumpins do not share that nature.
+
if(Solving || mce_run_gen_curr_sep_full == RunBasis_)
{
if(ee_pay_this_month)
@@ -1254,7 +1271,7 @@
Irc7702_->ProcessGptPmt(Year, eepmt, fake_cum_pmt);
}
EeGrossPmts[Month] += eepmt;
- GrossPmts[Month] += eepmt;
+ GrossPmts [Month] += eepmt;
}
if(er_pay_this_month)
{
@@ -1267,29 +1284,13 @@
Irc7702_->ProcessGptPmt(Year, erpmt, fake_cum_pmt);
}
ErGrossPmts[Month] += erpmt;
- GrossPmts[Month] += erpmt;
+ GrossPmts [Month] += erpmt;
}
}
HOPEFULLY(materially_equal(GrossPmts[Month], EeGrossPmts[Month] +
ErGrossPmts[Month]));
HOPEFULLY(GrossPmts[Month] < 1.0e100);
- // Guideline limits are imposed in this order:
- // 1035 exchanges
- // employee vector-input premium
- // employer vector-input premium
- // dumpin
- // This order is pretty much arbitrary, except that 1035 exchanges
- // really must be processed first. An argument could be made for
- // changing the order of employee and employer premiums. An
- // argument could be made for grouping dumpin with employee
- // premiums, at least as long as we treat dumpin as employee
- // premium. Even though dumpin and 1035 exchanges are similar in
- // that both are single payments notionally made at issue, it is
- // not necessary to group them together: 1035 exchanges have a
- // unique nature that requires them to be recognized before any
- // premium is paid, and dumpins do not share that nature.
-
if(0 == Year && 0 == Month && (Solving || mce_run_gen_curr_sep_full ==
RunBasis_))
{
// Don't enforce the GPT premium limit when solving for
@@ -1300,8 +1301,9 @@
Irc7702_->ProcessGptPmt(Year, Dumpin, fake_cum_pmt);
}
EeGrossPmts[Month] += Dumpin;
- GrossPmts[Month] += Dumpin;
+ GrossPmts [Month] += Dumpin;
}
+
HOPEFULLY(materially_equal(GrossPmts[Month], EeGrossPmts[Month] +
ErGrossPmts[Month]));
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [6408] Regularize layout; move a comment block,
Greg Chicares <=