Commit Graph

12 Commits

Author SHA1 Message Date
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01:00
Laurent Rineau e4b033e964 Add/remove #include
- I remove <CGAL/basic.h> when I see it, in favor of <CGAL/config.h>.
- <CGAL/ipower.h> is needed for CGAL::ipower
- <ctime> is needed for std::time
2014-06-26 19:10:06 +02:00
Laurent Rineau 5b5dd33848 merge changes from next 2012-01-09 12:33:39 +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
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Sébastien Loriot e0d7cbd83f do not include Gmpfi nor Gmpfz if Gmpfi is not available 2011-05-09 15:27:23 +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
Laurent Rineau 9277a77b72 Fix all svn:keywords in */include/ 2010-10-04 11:00:27 +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 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