lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 0c667ac5 5/9: Move an output line


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 0c667ac5 5/9: Move an output line
Date: Sat, 21 May 2022 20:13:52 -0400 (EDT)

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

    Move an output line
    
    The architectural context is intended to label sample calculations whose
    accuracy may vary by architecture.
---
 math_functions_test.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/math_functions_test.cpp b/math_functions_test.cpp
index 90cbc586..4281045a 100644
--- a/math_functions_test.cpp
+++ b/math_functions_test.cpp
@@ -203,6 +203,8 @@ void test_expm1_log1p()
 
 void sample_results()
 {
+    std::cout << LMI_CONTEXT << '\n' << std::endl;
+
     constexpr double intrate {0.04};
     fenv_initialize();
     std::cout.setf(std::ios_base::fixed, std::ios_base::floatfield);
@@ -602,8 +604,6 @@ int test_main(int, char*[])
 
     test_compound_interest();
 
-    std::cout << LMI_CONTEXT << '\n' << std::endl;
-
     test_signum<bool         >(__FILE__, __LINE__);
     test_signum<signed char  >(__FILE__, __LINE__);
     test_signum<unsigned char>(__FILE__, __LINE__);



reply via email to

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