mirror of https://github.com/CGAL/cgal
- Update.
This commit is contained in:
parent
fde03e0a7b
commit
24f61af5af
|
|
@ -1,21 +1,19 @@
|
|||
// Test program for Lazy_exact_nt<>.
|
||||
|
||||
#include <CGAL/basic.h>
|
||||
#include <iostream>
|
||||
#include <CGAL/Cartesian.h>
|
||||
#include <CGAL/Point_2.h>
|
||||
#include <CGAL/predicates_on_points_2.h>
|
||||
#include <iostream>
|
||||
#include <CGAL/Lazy_exact_nt.h>
|
||||
#include <CGAL/MP_Float.h>
|
||||
#include <CGAL/Quotient.h>
|
||||
|
||||
#ifdef CGAL_USE_LEDA
|
||||
# include <CGAL/leda_real.h>
|
||||
typedef leda_real Exact_NT;
|
||||
#else
|
||||
typedef CGAL::MP_Float Exact_NT; // doesn't do exact sqrt() though
|
||||
typedef CGAL::Quotient<CGAL::MP_Float> Exact_NT; // doesn't do exact sqrt()
|
||||
namespace CGAL { Exact_NT sqrt(const Exact_NT &) { abort(); } }
|
||||
#endif
|
||||
|
||||
// typedef CGAL::Lazy_exact_nt<int> NT;
|
||||
typedef CGAL::Lazy_exact_nt<Exact_NT> NT;
|
||||
// typedef Exact_NT NT;
|
||||
|
||||
|
|
|
|||
|
|
@ -13,15 +13,10 @@ include $(CGAL_MAKEFILE)
|
|||
# -L$(GMP_LIB_DIR) -lgmp -lm \
|
||||
|
||||
CXXFLAGS = \
|
||||
-I../../../Triangulation3/include \
|
||||
-I../../../H2/include \
|
||||
-I../../../Kernel_basic/include \
|
||||
-I../../../Cartesian_kernel/include \
|
||||
-I../../../Number_types/include \
|
||||
-I../../include \
|
||||
$(TESTSUITE_CXXFLAGS) \
|
||||
$(CGAL_CXXFLAGS) \
|
||||
-g -W -Wold-style-casts # -Winline -O2 -mcpu=pentiumpro -march=pentiumpro -fstrict-aliasing -W -Wall # -pedantic
|
||||
-g -W # -Winline -O2 -mcpu=pentiumpro -march=pentiumpro -fstrict-aliasing # -pedantic
|
||||
# -g -W -Wall -Winline
|
||||
# -O2 -mcpu=pentiumpro -march=pentiumpro -W -Wall -DLOOPS=10000000
|
||||
# -O2 -W -Winline -Wunused -malign-double
|
||||
|
|
|
|||
Loading…
Reference in New Issue