Michael Hemmer
f03886e980
update from next
2011-11-20 09:45:19 +00:00
Michael Hemmer
0eaf68014f
update from next
2011-11-17 10:29:42 +00:00
Laurent Rineau
93486787c3
The inside of ccPkgDescription must not contain black lines between macros
...
Otherwise that inserts a buggy "<p>" tag in the package overview where the
doctype does not allow it.
2011-11-15 19:16:23 +00:00
Sébastien Loriot
c271379d25
bugfix/clean up in MP_Float to split an int into
...
high and low bits using a mask rather than a union (the initialization
of union changed in cpp0x and the former implementation was "dangerous")
2011-10-31 11:33:42 +00:00
Marc Glisse
154d3937b1
Bugfix: test double division, not integer division!
2011-10-24 13:12:54 +00:00
Michael Hemmer
5120d52b17
reduce includes due to Arithmetic_kernel.h
...
each NT only includes his arithmetic kernel
2011-10-23 15:34:25 +00:00
Michael Hemmer
5dee43f347
fix test for new name
2011-10-10 16:42:42 +00:00
Michael Hemmer
7c31f2f284
merge from next
2011-10-10 14:02:41 +00:00
Michael Hemmer
9ab4170bbd
rename solve_1 to compute_roots_of_2
2011-10-10 13:08:18 +00:00
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
Michael Hemmer
ddc70eb66c
the ultimate fix
2011-07-13 12:57:50 +00:00
Michael Hemmer
5cf6d40842
complete test
2011-07-13 12:38:30 +00:00
Michael Hemmer
2c53e53572
cosmetics
2011-07-13 12:31:20 +00:00
Michael Hemmer
5bcbe45e8d
remove Solve_1 and just implement solve_1
...
although it creats minor inefficiencies
2011-07-13 12:07:03 +00:00
Michael Hemmer
63d87aa3a5
make precon clear
2011-07-13 12:05:05 +00:00
Michael Hemmer
9c27b7d894
use make_root_of_2 where possible
2011-07-13 10:27:05 +00:00
Michael Hemmer
e45e1ff9a9
added solve_1
2011-07-12 14:04:46 +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