mirror of
https://github.com/boostorg/multiprecision.git
synced 2026-07-21 13:23:49 +00:00
Disable test_round for double-fp on old GCC
This commit is contained in:
@@ -510,12 +510,20 @@ int main()
|
||||
test<boost::multiprecision::float128>();
|
||||
#endif
|
||||
#ifdef TEST_CPP_DOUBLE_FLOAT
|
||||
|
||||
// When using very old GCC, categorically disable this test for cpp_double_fp_backend.
|
||||
// Do not attempt, at the moment, to track down the compiler's "internal failure".
|
||||
|
||||
#if (defined(BOOST_GCC) && !defined(BOOST_CLANG) && (BOOST_GCC < 80000))
|
||||
#else
|
||||
test<boost::multiprecision::cpp_double_float>();
|
||||
test<boost::multiprecision::cpp_double_double>();
|
||||
test<boost::multiprecision::cpp_double_long_double>();
|
||||
#if defined(BOOST_MP_CPP_DOUBLE_FP_HAS_FLOAT128)
|
||||
test<boost::multiprecision::cpp_double_float128>();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
return boost::report_errors();
|
||||
|
||||
Reference in New Issue
Block a user