[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;
- [lmi-commits] [lmi] master updated (92d90368 -> d7c5304d), Greg Chicares, 2022/04/30
- [lmi-commits] [lmi] master 57a1b38c 1/6: Improve documentation,
Greg Chicares <=
- [lmi-commits] [lmi] master d7c5304d 6/6: Don't store unhelpful reciprocals, Greg Chicares, 2022/04/30
- [lmi-commits] [lmi] master 7ea80507 2/6: Prefer 'double' to 'long double' in a comment, Greg Chicares, 2022/04/30
- [lmi-commits] [lmi] master 44707d65 3/6: Use only unsuffixed expm1() and log1p(), Greg Chicares, 2022/04/30
- [lmi-commits] [lmi] master 8e48e14a 5/6: Don't force long double type for reciprocals, Greg Chicares, 2022/04/30
- [lmi-commits] [lmi] master 58b87552 4/6: Don't force long double into double calculations, Greg Chicares, 2022/04/30