lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master e711587c 08/10: Expunge a workaround for an o


From: Greg Chicares
Subject: [lmi-commits] [lmi] master e711587c 08/10: Expunge a workaround for an obsolete compiler
Date: Mon, 20 Jun 2022 19:16:24 -0400 (EDT)

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

    Expunge a workaround for an obsolete compiler
---
 round_to_test.cpp | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/round_to_test.cpp b/round_to_test.cpp
index 01be605b..0acc2777 100644
--- a/round_to_test.cpp
+++ b/round_to_test.cpp
@@ -211,18 +211,6 @@ bool round_to_test::test_one_case
              - unity
              ;
         }
-#if defined LMI_COMO_WITH_MINGW
-    // COMPILER !! This looks like a como porting defect: with mingw
-    // as the underlying C compiler, a long double should occupy
-    // twelve bytes, ten significant and two for padding.
-    if(8 == sizeof(long double))
-        {
-        tolerance = std::max
-            (tolerance
-            ,2.0L * (max_prec_real)std::numeric_limits<double>::epsilon()
-            );
-        }
-#endif // defined LMI_COMO_WITH_MINGW
     bool error_is_within_tolerance = rel_error <= tolerance;
 
     if(!error_is_within_tolerance)



reply via email to

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