mirror of https://github.com/CGAL/cgal
disable Check_FPU_rounding_mode_is_restored on demand
This commit is contained in:
parent
6bf6331967
commit
fdbbb776bc
|
|
@ -51,11 +51,13 @@ get_static_check_fpu_rounding_mode_is_restored()
|
|||
return check_fpu_rounding_mode_is_restored;
|
||||
}
|
||||
|
||||
#ifndef CGAL_DISABLE_ROUNDING_MATH_CHECK
|
||||
namespace {
|
||||
CGAL_UNUSED const Check_FPU_rounding_mode_is_restored &
|
||||
check_fpu_rounding_mode_is_restored
|
||||
= get_static_check_fpu_rounding_mode_is_restored();
|
||||
}
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#define CGAL_DISABLE_ROUNDING_MATH_CHECK 1
|
||||
#include <iostream>
|
||||
#include <CGAL/config.h>
|
||||
#include <CGAL/Interval_nt.h>
|
||||
|
|
|
|||
Loading…
Reference in New Issue