lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] valyuta/002 a00f68f 52/65: document


From: Greg Chicares
Subject: [lmi-commits] [lmi] valyuta/002 a00f68f 52/65: document
Date: Wed, 16 Sep 2020 16:55:21 -0400 (EDT)

branch: valyuta/002
commit a00f68ffb7c7bc5f59b133e5843002d257bd288e
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    document
---
 ihs_avsolve.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ihs_avsolve.cpp b/ihs_avsolve.cpp
index d6427ae..c4e5396 100644
--- a/ihs_avsolve.cpp
+++ b/ihs_avsolve.cpp
@@ -60,6 +60,10 @@ class SolveHelper
         :av {a_av}
         {
         }
+
+    // decimal_root() calls this thus:
+    //   static_cast<double>(f(double));
+    // so double f(double) is most natural here:
 //  double operator()(currency a_CandidateValue)
     double operator()(double a_CandidateValue)
         {



reply via email to

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