[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)
- [lmi-commits] [lmi] master updated (876d4b5b -> 50009ece), Greg Chicares, 2022/06/20
- [lmi-commits] [lmi] master e986f0c9 02/10: Specify types more explicitly in unit test, Greg Chicares, 2022/06/20
- [lmi-commits] [lmi] master a6f2830d 01/10: Explain the necessity of a certain cast, Greg Chicares, 2022/06/20
- [lmi-commits] [lmi] master 3c9845b4 06/10: State the purpose of a particular unit test, Greg Chicares, 2022/06/20
- [lmi-commits] [lmi] master 8f5b6960 04/10: Demonstrate object sizes in unit test, Greg Chicares, 2022/06/20
- [lmi-commits] [lmi] master 1744d568 07/10: Regularize every mention of nextafter(), Greg Chicares, 2022/06/20
- [lmi-commits] [lmi] master e711587c 08/10: Expunge a workaround for an obsolete compiler,
Greg Chicares <=
- [lmi-commits] [lmi] master 168e9a70 03/10: Specify a constant more clearly, Greg Chicares, 2022/06/20
- [lmi-commits] [lmi] master 7258e4ae 05/10: Establish and test explicit postconditions, Greg Chicares, 2022/06/20
- [lmi-commits] [lmi] master 50009ece 10/10: x⋅(1+ε) ≢ nextafter(x) [264], Greg Chicares, 2022/06/20
- [lmi-commits] [lmi] master e7278f90 09/10: Add some functions to complement std::nextafter(), Greg Chicares, 2022/06/20