Locally set up a FPU rounding mode, to assure that the norm is calculated

twice using the *same precision*.
This commit is contained in:
Laurent Rineau 2008-12-03 09:27:48 +00:00
parent 4bf387c6ca
commit 29da6b1232
1 changed files with 2 additions and 0 deletions

View File

@ -278,6 +278,8 @@ test_coords_and_neighbors( const Triangul& T, const typename
const typename Triangul::Geom_traits::FT&
tolerance, const int& version )
{
const CGAL::Protect_FPU_rounding<true> pfr(CGAL_FE_TONEAREST);
typedef std::pair<typename Triangul::Geom_traits::Point_3,
typename Triangul::Geom_traits::FT > Point_coord_pair;