Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] frounding math trouble with GCC 4.0.1
- Date: Fri, 29 May 2009 13:39:22 +0200
- Organization: GeometryFactory
Le Thursday 28 May 2009 12:17:37, Ben Supnik a écrit :
> when I had rounding math off (the default on OS X)
By default, the compiler optimizer assumes that the code it is compiling does
not bother about the norm IEEE754. With most pieces of code, that is true.
For
the few pieces of code that need a precise conformance to IEEE754, -frounding-
math must be used.
Since g++-4.4, CGAL could probably use:
#pragma optimize "-frounding-math"
in its code, or use the C99 FENV_ACCESS:
#pragma STDC FENV_ACCESS ON
instead of using that command line option. That way, users would not have
problem if they forgot that option.
--
Laurent Rineau, PhD
Engineer at GeometryFactory
http://www.geometryfactory.com/
- [cgal-discuss] frounding math trouble with GCC 4.0.1, Shamyl Zakariya, 05/27/2009
- Re: [cgal-discuss] frounding math trouble with GCC 4.0.1, Sylvain Pion, 05/27/2009
- Re: [cgal-discuss] frounding math trouble with GCC 4.0.1, Timo Strunk, 05/27/2009
- Re: [cgal-discuss] frounding math trouble with GCC 4.0.1, Laurent Rineau (GeometryFactory), 05/27/2009
- Re: [cgal-discuss] frounding math trouble with GCC 4.0.1, Shamyl Zakariya, 05/27/2009
- Re: [cgal-discuss] frounding math trouble with GCC 4.0.1, Ben Supnik, 05/29/2009
- Re: [cgal-discuss] frounding math trouble with GCC 4.0.1, Laurent Rineau (GeometryFactory), 05/29/2009
- Re: [cgal-discuss] frounding math trouble with GCC 4.0.1, Sylvain Pion, 05/29/2009
- Re: [cgal-discuss] frounding math trouble with GCC 4.0.1, Laurent Rineau (GeometryFactory), 05/29/2009
- Re: [cgal-discuss] frounding math trouble with GCC 4.0.1, Ben Supnik, 05/29/2009
- Re: [cgal-discuss] frounding math trouble with GCC 4.0.1, Timo Strunk, 05/27/2009
- [cgal-discuss] Polyhedron erase_facet followed by fill_hole, Jens K. Becker, 05/29/2009
- Re: [cgal-discuss] Polyhedron erase_facet followed by fill_hole, Jens K. Becker, 05/29/2009
- Re: [cgal-discuss] frounding math trouble with GCC 4.0.1, Sylvain Pion, 05/27/2009
Archive powered by MHonArc 2.6.16.