Commit Graph

11 Commits

Author SHA1 Message Date
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 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
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
Laurent Rineau 9277a77b72 Fix all svn:keywords in */include/ 2010-10-04 11:00:27 +00:00
Laurent Rineau 77a2bead80 Add missing svn properties (keywords and eol-style). 2010-09-20 12:12:46 +00:00
Sébastien Loriot 52317dd49f add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Michael Hemmer 0d2cb98390 move Get_arithmetic_kernel specializations into correct packages 2010-05-05 14:19:26 +00:00
Michael Hemmer 056e943886 minor fix 2010-02-15 16:35:05 +00:00
Michael Hemmer c9074430d3 change CGAL_HAVE_.. CGAL_HAS.. 2010-02-11 17:56:29 +00:00
Michael Hemmer 286b4734a3 big fix: close namespace in #ifdef for MPFI/GMP 2010-02-11 16:56:04 +00:00
Michael Hemmer fca24ab9f0 mv package from experimental to trunk
will replace currently undocumented stuff in NT package
2010-02-11 13:45:57 +00:00