Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: Crash with Nef_polyhedron_3

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: Crash with Nef_polyhedron_3


Chronological Thread 
  • From: Marius Kintel <(005b7a4cd6%hidden_head%005b7a4cd6)marius(005b7a4cd6%hidden_at%005b7a4cd6)kintel.net(005b7a4cd6%hidden_end%005b7a4cd6)>
  • To: (005b7a4cd6%hidden_head%005b7a4cd6)cgal-discuss(005b7a4cd6%hidden_at%005b7a4cd6)lists-sop.inria.fr(005b7a4cd6%hidden_end%005b7a4cd6)
  • Subject: Re: [cgal-discuss] Re: Crash with Nef_polyhedron_3
  • Date: Wed, 30 May 2012 00:20:30 +0200

On May 29, 2012, at 23:50 PM, Joachim Reichel wrote:
>
> to test the basic rounding mode stuff you could try the attached test case.
>
Thanks for the tip!

I've run this on two computers (Mac OS X 10.6 and 10.7) and the two available
compilers for each computer.
As you can see from the output below, the only way to get an optimized build
to work is to use the plain gcc compiler, which is no longer available
starting with Mac OS X 10.7.

I guess that's bad news in terms of CGAL-compatibility for Mac OS X.

Ideas are welcome :)

Thanks,

-Marius

---------------

Error configurations:
10.6 gcc-4.2.1
c++ -O2 rounding_modes1.cpp -o rounding_modes1
10.6 llvm-gcc-4.2.1
llvm-g++ -O2 rounding_modes1.cpp -o rounding_modes1
llvm-g++ -O2 -frounding-math rounding_modes1.cpp -o rounding_modes1
10.7 llvm-gcc-4.2.1
llvm-g++ -O2 rounding_modes1.cpp -o rounding_modes1
llvm-g++ -O2 -frounding-math rounding_modes1.cpp -o rounding_modes1
10.7 clang-3.1
c++ -O2 -frounding-math rounding_modes1.cpp -o rounding_modes1
c++ -O2 rounding_modes1.cpp -o rounding_modes1

OK configurations:
10.6 gcc-4.2.1
c++ rounding_modes1.cpp -o rounding_modes1
c++ -frounding-math rounding_modes1.cpp -o rounding_modes1
c++ -O2 -frounding-math rounding_modes1.cpp -o rounding_modes1
10.6 llvm-gcc-4.2.1
llvm-g++ rounding_modes1.cpp -o rounding_modes1
llvm-g++ -frounding-math rounding_modes1.cpp -o rounding_modes1
10.7 llvm-gcc-4.2.1
c++ rounding_modes1.cpp -o rounding_modes1
c++ -frounding-math rounding_modes1.cpp -o rounding_modes1
10.7 clang-3.1
c++ rounding_modes1.cpp -o rounding_modes1
c++ -frounding-math rounding_modes1.cpp -o rounding_modes1

Error behavior:
fegetround() = FE_TONEAREST
fesetround (FE_TOWARDZERO)
fegetround() = FE_TOWARDZERO (ok)
fetestround() = FE_TONEAREST (error)
fesetround (FE_UPWARD)
fegetround() = FE_UPWARD (ok)
fetestround() = FE_TONEAREST (error)
fesetround (FE_DOWNWARD)
fegetround() = FE_DOWNWARD (ok)
fetestround() = FE_TONEAREST (error)
fesetround (FE_TONEAREST)
fegetround() = FE_TONEAREST (ok)
fetestround() = FE_TONEAREST (ok)




Archive powered by MHonArc 2.6.18.

Top of Page