diff --git a/test/test_fixed_zero_precision_io.cpp b/test/test_fixed_zero_precision_io.cpp index 97915ecf..52c90ba3 100644 --- a/test/test_fixed_zero_precision_io.cpp +++ b/test/test_fixed_zero_precision_io.cpp @@ -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 > >(); @@ -197,6 +200,7 @@ int main() #endif #ifdef TEST_FLOAT128 test_fixed_io(); +#endif #endif return boost::report_errors(); }