mirror of https://github.com/CGAL/cgal
Enforce correct bit precision
Necessary for some old machines whose processor violates the standard
This commit is contained in:
parent
128eb72121
commit
ec48c4c3ad
|
|
@ -5,8 +5,9 @@
|
||||||
#include <CGAL/Homogeneous.h>
|
#include <CGAL/Homogeneous.h>
|
||||||
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
|
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
|
||||||
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
|
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
|
||||||
#include <CGAL/internal/Exact_type_selector.h>
|
|
||||||
|
|
||||||
|
#include <CGAL/FPU.h>
|
||||||
|
#include <CGAL/internal/Exact_type_selector.h>
|
||||||
#include <CGAL/intersection_2.h>
|
#include <CGAL/intersection_2.h>
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
@ -795,6 +796,8 @@ private:
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
CGAL::Set_ieee_double_precision pfr;
|
||||||
|
|
||||||
Test< CGAL::Simple_cartesian<typename CGAL::internal::Exact_field_selector<void*>::Type > >().run();
|
Test< CGAL::Simple_cartesian<typename CGAL::internal::Exact_field_selector<void*>::Type > >().run();
|
||||||
Test< CGAL::Cartesian<double> >().run();
|
Test< CGAL::Cartesian<double> >().run();
|
||||||
Test< CGAL::Homogeneous<typename CGAL::internal::Exact_field_selector<void*>::Type > >().run();
|
Test< CGAL::Homogeneous<typename CGAL::internal::Exact_field_selector<void*>::Type > >().run();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue