Enforce IEEE double precision before using modular arithmetic

This commit is contained in:
Michael Hemmer
2008-10-22 08:55:03 +00:00
parent 96fb756a7f
commit 2ae6fda863
12 changed files with 151 additions and 109 deletions
@@ -75,7 +75,10 @@ void test_modular_traits(){
}
int main()
{
{
// Enforce IEEE double precision before using modular arithmetic
CGAL::Protect_FPU_rounding<true> pfr(CGAL_FE_TONEAREST);
test_modular_traits<int>();
#ifdef CGAL_USE_LEDA