lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 57a1b38c 1/6: Improve documentation


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 57a1b38c 1/6: Improve documentation
Date: Sat, 30 Apr 2022 09:13:22 -0400 (EDT)

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

    Improve documentation
---
 math_functions_test.cpp | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/math_functions_test.cpp b/math_functions_test.cpp
index b93ffd31..ce05a782 100644
--- a/math_functions_test.cpp
+++ b/math_functions_test.cpp
@@ -192,7 +192,7 @@ void sample_results()
     fenv_initialize();
 }
 
-// These 'mete[0123]' functions perform the same set of operations using
+// These 'mete[01]' functions perform the same sets of operations using
 // different implementations.
 
 // This implementation naively uses std::pow(); it is both slower and
@@ -224,6 +224,10 @@ void mete1()
     stifle_unused_warning(x);
 }
 
+// These 'mete[23]' functions perform the same operation using
+// different implementations.
+
+// This implementation uses type 'double'.
 void mete2()
 {
     double volatile x;
@@ -234,6 +238,7 @@ void mete2()
     stifle_unused_warning(x);
 }
 
+// This implementation uses type 'long double'.
 void mete3()
 {
     long double volatile x;



reply via email to

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