mirror of
https://github.com/boostorg/multiprecision.git
synced 2026-01-19 04:22:11 +00:00
Disable fixed-precision tests for msvc-14.1 and earlier.
It doesn't perform bankers rounding for double IO which breaks all our tests.
This commit is contained in:
@@ -182,6 +182,9 @@ void test_fixed_io()
|
||||
|
||||
int main()
|
||||
{
|
||||
#ifdef BOOST_MSVC && (BOOST_MSVC < 1920)
|
||||
std::cout << "MSVC prior to 14.2 does not perform bankers rounding for double IO, as a result all our test cases are incorrect, so there's nothing we can productively test here." << std::endl;
|
||||
#else
|
||||
using namespace boost::multiprecision;
|
||||
#ifdef TEST_BIN_FLOAT
|
||||
test_fixed_io<number<cpp_bin_float<113, digit_base_2, void, std::int16_t> > >();
|
||||
@@ -197,6 +200,7 @@ int main()
|
||||
#endif
|
||||
#ifdef TEST_FLOAT128
|
||||
test_fixed_io<boost::multiprecision::float128>();
|
||||
#endif
|
||||
#endif
|
||||
return boost::report_errors();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user