[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] valyuta/002 e0c5136 45/65: improve documentation
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] valyuta/002 e0c5136 45/65: improve documentation |
Date: |
Wed, 16 Sep 2020 16:55:19 -0400 (EDT) |
branch: valyuta/002
commit e0c513600b6ed1db5d0e21ef8a4b3807e95404fa
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
improve documentation
---
ihs_avmly.cpp | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/ihs_avmly.cpp b/ihs_avmly.cpp
index 2163af3..58aecdf 100644
--- a/ihs_avmly.cpp
+++ b/ihs_avmly.cpp
@@ -1295,10 +1295,14 @@ void AccountValue::TxAscertainDesiredPayment()
LMI_ASSERT(materially_equal(GrossPmts[Month], EeGrossPmts[Month] +
ErGrossPmts[Month]));
}
-//============================================================================
-// TAXATION !! Should this be called for gpt? or, if it's called,
-// should it assert that it has no effect?
-//void AccountValue::TxLimitPayment(currency a_maxpmt)
+/// Limit payment (e.g., to the non-MEC maximum).
+///
+/// The limit argument is of type double because the taxation code may
+/// return DBL_MAX.
+///
+/// TAXATION !! Should this be called for gpt? or, if it's called,
+/// should it assert that it has no effect?
+
void AccountValue::TxLimitPayment(double a_maxpmt)
{
// Subtract premium load from gross premium yielding net premium.
- [lmi-commits] [lmi] valyuta/002 c34960b 17/65: alternative for debugging, (continued)
- [lmi-commits] [lmi] valyuta/002 c34960b 17/65: alternative for debugging, Greg Chicares, 2020/09/16
- [lmi-commits] [lmi] valyuta/002 56ec06f 37/65: overload SetMonthlyDetail(), Greg Chicares, 2020/09/16
- [lmi-commits] [lmi] valyuta/002 518d684 28/65: Currency: implement binary operator+, Greg Chicares, 2020/09/16
- [lmi-commits] [lmi] valyuta/002 c07e796 08/65: use currency type, Greg Chicares, 2020/09/16
- [lmi-commits] [lmi] valyuta/002 680dd5d 23/65: Revert "suppress failing assertions", Greg Chicares, 2020/09/16
- [lmi-commits] [lmi] valyuta/002 6b28993 06/65: clarify non-MEC solves, Greg Chicares, 2020/09/16
- [lmi-commits] [lmi] valyuta/002 03262ae 16/65: commented-out curiosity, Greg Chicares, 2020/09/16
- [lmi-commits] [lmi] valyuta/002 d63c5b3 33/65: round all the things, Greg Chicares, 2020/09/16
- [lmi-commits] [lmi] valyuta/002 39eb954 36/65: symmetric binary operators, Greg Chicares, 2020/09/16
- [lmi-commits] [lmi] valyuta/002 6381b2f 44/65: Throw on overflow, Greg Chicares, 2020/09/16
- [lmi-commits] [lmi] valyuta/002 e0c5136 45/65: improve documentation,
Greg Chicares <=
- [lmi-commits] [lmi] valyuta/002 7bac50c 50/65: default-initialize currency, Greg Chicares, 2020/09/16
- [lmi-commits] [lmi] valyuta/002 f7f87b2 42/65: unit test: overflow, Greg Chicares, 2020/09/16
- [lmi-commits] [lmi] valyuta/002 9ea1df7 54/65: further improve preceding commit, Greg Chicares, 2020/09/16
- [lmi-commits] [lmi] valyuta/002 ba43414 61/65: Record 64-bit timings, Greg Chicares, 2020/09/16
- [lmi-commits] [lmi] valyuta/002 fb82290 63/65: Use maximal 64-bit rather than 32-bit integer value, Greg Chicares, 2020/09/16
- [lmi-commits] [lmi] valyuta/002 8fd00bb 34/65: rework operator*(), Greg Chicares, 2020/09/16
- [lmi-commits] [lmi] valyuta/002 bf1943b 03/65: reformat, Greg Chicares, 2020/09/16
- [lmi-commits] [lmi] valyuta/002 7481c2b 09/65: discard--throwaway assertions, Greg Chicares, 2020/09/16
- [lmi-commits] [lmi] valyuta/002 998fdf5 35/65: operator/(), Greg Chicares, 2020/09/16
- [lmi-commits] [lmi] valyuta/002 c105c78 29/65: Currency: implement binary operator-, Greg Chicares, 2020/09/16