diff --git a/Polynomial/test/Polynomial/test_polynomial.h b/Polynomial/test/Polynomial/test_polynomial.h index a8a07ba92d0..5141ffa239c 100644 --- a/Polynomial/test/Polynomial/test_polynomial.h +++ b/Polynomial/test/Polynomial/test_polynomial.h @@ -285,6 +285,13 @@ void division(CGAL::Integral_domain_tag) { template void io() { + + // https://github.com/CGAL/cgal/issues/6272#issuecomment-1022005703 + // VCbug: Setting the rounding mode influences output of double + // The rounding mode is set to CGAL_FE_UPWARD in the test ccp files + // in order to test Modular Arithmetic + // Without this change which is local to the function p == q will fail + CGAL::Protect_FPU_rounding pfr(CGAL_FE_TONEAREST); typedef CGAL::Polynomial POLY; {