lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 0100f71 2/8: Expunge a footling defect marker


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 0100f71 2/8: Expunge a footling defect marker [281]
Date: Tue, 25 May 2021 20:10:59 -0400 (EDT)

branch: master
commit 0100f71d7e6aad1d40efc744e245672f81498f64
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Expunge a footling defect marker [281]
    
    The same value is used in 'ihs_avsolve.cpp':
        // No amount solved for can plausibly reach one billion dollars.
        double upper_bound = 999999999.99;
    and it is appropriate to make the same comment here. The use of an
    arbitrary upper bound with an algorithm that requires that such a
    bound be specified is no defect.
---
 gpt_specamt.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gpt_specamt.cpp b/gpt_specamt.cpp
index a09d012..613af48 100644
--- a/gpt_specamt.cpp
+++ b/gpt_specamt.cpp
@@ -156,8 +156,7 @@ currency gpt_specamt::CalculateSpecAmt
         ,a_NetPmtFactorExc
         );
 
-    // TODO ?? The upper bound ideally wouldn't be hard coded; but if
-    // it must be, then it can't plausibly reach one billion dollars.
+    // No amount solved for can plausibly reach one billion dollars.
     decimal_root
         (0.0
         ,999999999.99



reply via email to

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