Residue needs ieee double precion as well as rounding mode to nearest

use CGAL::Protect_FPU_rounding<true> pfr(CGAL_FE_TONEAREST)
This commit is contained in:
Michael Hemmer
2008-12-10 10:19:44 +00:00
parent c7d6231194
commit 1aabe3b9e9
5 changed files with 20 additions and 15 deletions
@@ -76,8 +76,8 @@ void test_modular_traits(){
int main()
{
// Enforce IEEE double precision before using modular arithmetic
CGAL::Set_ieee_double_precision pfr;
// Enforce IEEE double precision and rounding mode to nearest
CGAL::Protect_FPU_rounding<true> pfr(CGAL_FE_TONEAREST);
test_modular_traits<int>();