Alex and I improved the tests for approximation of algebraic reals:
- more polynomials (with small and large constant and quadratic coefficient)
- added a root really close to zero
- test all roots of polynomial
- added many precisions (including exotic ones)
Known issue: RS kernel has problem with prec = 8
That is a followup-to my commit last year:
| ------------------------------------------------------------------------
| r63198 | lrineau | 2011-04-28 19:45:22 +0200 (Thu, 28 Apr 2011) | 5 lines
|
| Try to fix my last revision about cmake_policy, with CMake-2.6.x
|
| CMake gives an error if one tries to use cmake_policy(VERSION x.y.z) if
| x.y.z is greater than the current CMake version.
|
| ------------------------------------------------------------------------
The following check:
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" VERSION_GREATER 2.6)
is useless just after a call to:
cmake_minimum_required(VERSION 2.6.2)
The script used to fix that was:
#!/usr/bin/env perl
$replacement=<<'END';
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_GREATER 2.8.3)
cmake_policy(VERSION 2.8.4)
else()
cmake_policy(VERSION 2.6)
endif()
END
while(<>) {
if(/if\("\${CMAKE_MAJOR_VERSION}.\${CMAKE_MINOR_VERSION}" VERSION_GREATER 2.6\)/) {
while(<>) {
if(/^endif\(\)/) {
print "$replacement";
while(<>) {
print;
}
exit 0
}
}
}
print;
}
-Wunused-local-typedefs is a new warning flag of gcc-4.7, and it will enabled
by -Wall since gcc-4.8 (not yet released).
The fix is a big set of removals of unused typedefs (or comments, or moves,
depending on the context).
We declare
cmake_minimum_required(VERSION 2.6.2)
but we also use
cmake_policy(VERSION 2.8.4)
to declare that our CMake scripts are OK with all the defaults of CMake policies
as of CMake-2.8.4. That shuts down the warnings of CMake-2.8.4.
That way, we no longer need any declaration of specific policies.
Those two lines must be present and maintained in all our CMakeLists.txt
files (the one for the libraries, and also the one for examples and demos,
and maybe tests).
The documentation of CGAL says that the minimal version of CMake must be
CMake-2.6.2.
- change cmake_minimum_required to VERSION 2.6.2
- no longer any need for the policy CMP0003 (was for 2.4.x)
- no longer any need for CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS (was for 2.4)
| ------------------------------------------------------------------------
| r58141 | lrineau | 2010-08-18 15:08:04 +0200 (Wed, 18 Aug 2010) | 5 lines
| Changed paths:
| M /branches/CGAL-3.7-branch/Algebraic_kernel_d/include/CGAL/Algebraic_kernel_d/Float_traits.h
| M /branches/CGAL-3.7-branch/Number_types/include/CGAL/CORE_BigFloat.h
|
| Fix the "bug" of CORE-1.7 in 64 bits. The bug was actually in CGAL
| Number_types and Algebraic_kernel_d! The basis of CORE::BigFloat is not
| 2^14: it is 2^CORE::CHUNK_BIT. CORE::CHUNK_BIT is 14 in 32 bits, but *30*
| in 64 bits!
|
| ------------------------------------------------------------------------
Update: See revision 58145.
-- Laurent Rineau Wed Aug 18 16:26:15 CEST 2010
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch
........
r53967 | lrineau | 2010-02-01 15:46:07 +0100 (Mon, 01 Feb 2010) | 2 lines
Typo
........
r53968 | lrineau | 2010-02-01 16:09:48 +0100 (Mon, 01 Feb 2010) | 2 lines
Update the link to the installation manual.
........
r54001 | fcacciola | 2010-02-02 16:34:59 +0100 (Tue, 02 Feb 2010) | 1 line
Fixed warnings
........
r54002 | fcacciola | 2010-02-02 16:50:18 +0100 (Tue, 02 Feb 2010) | 1 line
CORRECT fix for the *branch* code
........
r54005 | lrineau | 2010-02-02 21:26:25 +0100 (Tue, 02 Feb 2010) | 10 lines
Backport from trunk:`
| ------------------------------------------------------------------------
| r53983 | afabri | 2010-02-02 14:26:07 +0100 (Tue, 02 Feb 2010) | 1 line
| Changed paths:
| M /trunk/Triangulation_2/include/CGAL/Triangulation_line_face_circulator_2.h
|
| Use the traits for comparing points, not ==
| ------------------------------------------------------------------------
|
........
r54006 | lrineau | 2010-02-03 14:12:26 +0100 (Wed, 03 Feb 2010) | 18 lines
Backport from trunk:
| ------------------------------------------------------------------------
| r53978 | afabri | 2010-02-02 09:32:59 +0100 (Tue, 02 Feb 2010) | 1 line
| Changed paths:
| M /trunk/Surface_mesh_simplification/test/Surface_mesh_simplification/test_edge_collapse_Polyhedron_3.cpp
|
| Add virtual destructor in the testsuite to turn a 'W' to a 'Y'
| ------------------------------------------------------------------------
| r53988 | afabri | 2010-02-02 15:11:06 +0100 (Tue, 02 Feb 2010) | 1 line
| Changed paths:
| M /trunk/Polyhedron/demo/Polyhedron/Messages_interface.h
| M /trunk/Polyhedron/demo/Polyhedron/Polyhedron_demo_io_plugin_interface.h
| M /trunk/Polyhedron/demo/Polyhedron/Polyhedron_demo_plugin_interface.h
| M /trunk/Polyhedron/demo/Polyhedron/Scene_draw_interface.h
|
| Define virtual destructors
| ------------------------------------------------------------------------
........
r54007 | fcacciola | 2010-02-03 14:46:31 +0100 (Wed, 03 Feb 2010) | 1 line
Added bug fix from recent user report (Feb-2010)
........
r54046 | penarand | 2010-02-08 12:04:59 +0100 (Mon, 08 Feb 2010) | 3 lines
removed Elias from authors
........
r54058 | mcaroli | 2010-02-09 12:06:20 +0100 (Tue, 09 Feb 2010) | 3 lines
replace version number by "last" in links to the online manual
this is a merge from the trunk rev 54041
........
r54096 | yvinec | 2010-02-10 15:08:17 +0100 (Wed, 10 Feb 2010) | 4 lines
added Pierre and Jane as authors.
Fixed approved by RM.
........
r54098 | yvinec | 2010-02-10 15:17:49 +0100 (Wed, 10 Feb 2010) | 4 lines
added Pierre and Jane as authors in Mesh_3.
Fixed approved by RM
........
r54229 | lrineau | 2010-02-19 13:52:46 +0100 (Fri, 19 Feb 2010) | 2 lines
s|Qt/qglobal.h|QtCore/qglobal.h|
........
r54237 | lrineau | 2010-02-19 17:43:53 +0100 (Fri, 19 Feb 2010) | 3 lines
- Add a section about RS in the third party libraries of Preliminaries.
- Use macros, to help the cross-referencing of RS.
........
r54238 | stayeb | 2010-02-19 17:47:25 +0100 (Fri, 19 Feb 2010) | 1 line
Bug fix: do not use infinite vertice to compute bbox.
........