lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 4b26bf8 01/23: Add a parenthetical comment to


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 4b26bf8 01/23: Add a parenthetical comment to a unit test
Date: Tue, 27 Jul 2021 21:59:50 -0400 (EDT)

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

    Add a parenthetical comment to a unit test
---
 zero_test.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/zero_test.cpp b/zero_test.cpp
index 0601cfb..ff06add 100644
--- a/zero_test.cpp
+++ b/zero_test.cpp
@@ -501,8 +501,9 @@ void test_biases()
     // Test different biases.
 
     // Because the base of natural logarithms is transcendental,
-    // Brent's algorithm must terminate with distinct upper and lower
-    // bounds: neither can equal the unrepresentable true value.
+    // Brent's algorithm terminates with distinct upper and lower
+    // bounds: neither can equal the unrepresentable true value
+    // (though perhaps zero is returned for some argument).
     e_functor e;
 
     // The last iterate evaluated is retained in member 'e.state'.



reply via email to

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