Commit Graph

849 Commits

Author SHA1 Message Date
Sébastien Loriot 554f62d411 remove executable property from copyright files 2011-10-03 08:18:16 +00:00
Andreas Fabri d10a333947 Add a file with the copyright holder(s) to the package_info 2011-09-29 20:45:16 +00:00
Laurent Rineau fdb7ea6c6b prepare ccPkgHowToCiteCgal for CGAL-3.10 (in 2012) 2011-09-28 16:15:05 +00:00
Sébastien Loriot dff6dda8b3 Remove from copyright holder
Freie Universitaet Berlin (Germany), Martin-Luther-University Halle-Wittenberg
(Germany) and RISC Linz (Austria) as they transfer the copyright to other
sites.
2011-09-21 19:46:31 +00:00
Guillaume Damiand a29c905ee0 Replace BOOST_STATIC_ASSERT by CGAL_static_assertion. 2011-08-31 14:30:07 +00:00
Marc Glisse 1a6bc3f2d4 Small workarounds for LLVM. 2011-08-12 15:50:05 +00:00
Sébastien Loriot 2c1bc779c3 bug detected by a warning of intel compiler 2011-06-29 12:41:42 +00:00
Laurent Rineau ac9877372d Update all PkgDescription files to CGAL-3.9 2011-06-27 14:31:45 +00:00
Philipp Möller 4cb71dd2be Missing includes and switched to static assertions 2011-06-14 14:55:11 +00:00
Philipp Möller 5d68f7ef88 * known_bit_size_integers now uses CGAL_NO_DEPRECATED_CODE
* test is now just using boost::[u]int*_t types
2011-06-14 13:41:59 +00:00
Philipp Möller 517c4728d8 Comment now corresponds to macro 2011-06-14 13:00:04 +00:00
Philipp Möller 951c5a9159 * deprecated known_bit_size_integers.h and aliased all old definitions to cstdint
* remove Integer64 typedef from long long
* removed includes from number_type_basic.h
2011-06-10 17:01:16 +00:00
Sébastien Loriot 9a9095299c move functions before Root_of_traits_helper implementation using them
(detected by gcc-snapshot)
2011-06-09 06:27:38 +00:00
Sébastien Loriot 4b0b05894e last merge from next before reintegrate 2011-05-31 11:45:17 +00:00
Sébastien Loriot cd46479c25 remove extra; 2011-05-31 08:00:57 +00:00
Andreas Fabri dee65b63f5 Min and Max only construct a new node in the DAG, if the intervals overlap 2011-05-31 07:50:41 +00:00
Sébastien Loriot ca13392880 CGAL -> \cgal\ 2011-05-30 12:36:57 +00:00
Sébastien Loriot f73c81dcb8 use Fraction_traits<NT>::Compose(a,b) instead of NT(a,b)
for rational number types.
2011-05-26 08:09:26 +00:00
Sébastien Loriot 4846101f51 merge from next 2011-05-23 16:35:56 +00:00
Michael Hemmer 55d9fbeb50 fix: missing coercion from ET to Lazy_exact_nt<ET> 2011-05-23 16:26:15 +00:00
Sébastien Loriot ba1c543c27 *add non documented conjugate() to Sqrt_extension (root_of_2 testsuite)
*fix template specialization of Standardise (detected thanks to a bug of gcc-4.1.2)
*add missing template ACDE_TAG and FP_TAG at few places
2011-05-19 12:15:44 +00:00
Sébastien Loriot 71b3e19f4d add non-documented is_rational to Sqrt_extension for backward compatibility
reason (CoordNT in Arr_circle_segments_traits) + correct a typo in doc_tex.
2011-05-17 09:31:17 +00:00
Sébastien Loriot 164abdda30 actually for backward compatibility reason in SVD, I must allow root=0 if ACDE_tag is true. 2011-05-05 13:23:55 +00:00
Sébastien Loriot b0072b556f The constructor of Sqrt_extension from 3 parameters does not allow the root to be
0. Update Circular_kernel_3 testsuite to this precondition.

Raffine the fix of r63323 of operator== of Sqrt_extension. The original
behavior is used if ACDE_TAG is Tag_false and the one of r63323 otherwise
(selected at compile time).
2011-05-05 08:17:39 +00:00
Sébastien Loriot a65be14cb1 update operator== for Sqrt_extension. I was only valid in case objects had the same extension. 2011-05-04 11:36:18 +00:00
Sébastien Loriot c8b96139c6 *GMP_arithmetic_kernel now always define Integer and Rational even when Gmpfi
is not available.

*Add default empty struct for Get_arithmetic_kernel. That way we can test if
a specialization is avaible. I used it for the default case of Root_of_traits.
When a number type not known by CGAL is used to instanciate Root_of_traits,
the field type used to instanciate Sqrt_extension is made using Quotient.

*Patch of Lazy_exact_nt constructor from another Lazy_exact_nt type.
In revision 61559, that constructor was retricted to the case the exact type
is implicitely constructed from the other exact type. Now the old behavior is
back but only if it is explicitely called (patch from Marc Glisse).

*Update To_double specialization of Sqrt_extension to use the same formula
than To_interval so that the double value is contained in the interval.

*update root_of_2 test-suite to use Sqrt_extension and that they behave
similarly
2011-05-04 07:32:31 +00:00
Sébastien Loriot 659dcd26b3 is_rational() from one_root_number is replaced by !is_extended() from Sqrt_extension 2011-05-02 10:13:35 +00:00
Sébastien Loriot 506aebdfd5 use forward declaration of Sqrt_extension (detected by a bug in Algebraic_kernel_d test-suite). 2011-05-02 09:45:02 +00:00
Sébastien Loriot 81f8f69ffe merge from next 2011-04-28 18:44:10 +00:00
Laurent Rineau 3c02e07b23 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.
2011-04-28 17:45:22 +00:00
Sébastien Loriot 9176663964 the lib now compiles.
move Get_arithmetic_kernel specialization into MP_Float.h
reorder declaration of to_double(Sqrt_extension<MP_Float>)

Sqrt_extension need specialization of Real_embeddable_traits
and Algebraic_structure_traits.
2011-04-28 16:44:00 +00:00
Laurent Rineau c97205f085 Global handling of CMake policies (second part)
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).
2011-04-28 10:55:56 +00:00
Laurent Rineau 0631943153 Uniform capitalization in our CMake script: use lowercase for commands 2011-04-28 10:36:18 +00:00
Sébastien Loriot b365ee3416 merge next into branch 2011-04-28 09:01:01 +00:00
Laurent Rineau ca5c92e034 Global maintenance of CMakeLists.txt: CMake minimal version is -2.6.2
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)
2011-04-27 17:58:27 +00:00
Sébastien Loriot d5c2355419 merge the modification from experimental packages to
the candidate branch of the feature + few name bug fixes
2011-04-12 11:34:37 +00:00
Andreas Fabri bce0e8c4b4 Add sse2 based functions for fabs, min, and max 2011-04-01 14:01:17 +00:00
Andreas Fabri 58fcb7fd62 Add an implementation for fabs(double) that uses SSE2 intrinsics
It can be enabled by defining CGAL_USE_SSE2_FABS
2011-03-31 14:45:41 +00:00
Luis Peñaranda ff0beeac79 Added small comment on reference counting in Gmpfr reference manual.
Changed the calls mpfr_get_z_exp -> mpfr_get_z_2exp for MPFR>2 (the old
function name may be deprecated in future versions).
Added comments in the Gmpfr code about Gmpfr destructors.
Updated my mail address in source files.
2011-03-22 07:59:52 +00:00
Laurent Rineau 5030f1e929 Add macro CGAL_MSVC_USE_STD_FABS
On Windows, with MSVC, std::fabs is an intrinsic function with /Oi (implied
with /O1, /O2, and so on) *if* /fp:strict is not used. We should reevaluate
the need to use /fp:strict (and maybe use /fp:precise, the default,
combined with #pragma fenv_access).

First step: bench! This macro will help.
2011-03-21 10:27:07 +00:00
Andreas Fabri 7e3561ecb8 No need for BOOST_PREVENT_MACRO_SUBSTITUTION 2011-03-13 17:44:26 +00:00
Luis Peñaranda b0dc067936 Applied Alexander Kobel's patch to Gmpfi_type.h, to avoid loosing references
to the endpoints. This patch fixes a memory leak.
2011-03-10 12:12:30 +00:00
Marc Glisse 879c4eb81c Enable implicit Lazy_exact_nt conversions only if there exists an implicit
conversion between the exact types.

I'll add something similar for explicit conversions if required.
2011-03-08 10:27:31 +00:00
Eric Berberich 1df7c1c87f added missing include 2011-03-07 13:50:17 +00:00
Sébastien Loriot 8ce2048aea add #include<CGAL/config.h> before any directive CGAL_USE_* 2011-03-02 18:52:57 +00:00
Sébastien Loriot 42bb0cb07e revert unneeded commit 2011-02-28 17:02:19 +00:00
Sébastien Loriot a3d1cb41b1 change assertion for MSVC and Sun CC 2011-02-28 16:26:20 +00:00
Laurent Rineau da95064578 Update the \ccPkgHowToCiteCgal tag for CGAL-3.8 (2011). 2011-02-24 15:21:10 +00:00
Marc Glisse 23473bb1ff simplify/optimize 2011-02-24 12:35:04 +00:00
Sébastien Loriot a2cec87f46 replace remaing fabs in include files by CGAL::abs 2011-02-18 15:37:40 +00:00