Disable test_round for old GCC

This commit is contained in:
ckormanyos
2025-09-03 20:46:40 +02:00
parent 793f9bb9a0
commit cbcf51c54a
+6
View File
@@ -60,8 +60,11 @@
#include <boost/multiprecision/float128.hpp>
#endif
#ifdef TEST_CPP_DOUBLE_FLOAT
#if (defined(BOOST_GCC) && !defined(BOOST_CLANG) && (BOOST_GCC < 80000))
#else
#include <boost/multiprecision/cpp_double_fp.hpp>
#endif
#endif
#ifdef BOOST_MSVC
#pragma warning(disable : 4127)
@@ -511,12 +514,15 @@ int main()
#endif
#ifdef TEST_CPP_DOUBLE_FLOAT
#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