Commit Graph

37 Commits

Author SHA1 Message Date
albert-github 014c06fd19 spelling corrections
Some spelling corrections (Directories starting with `A`)
2022-11-14 15:32:47 +01:00
Dmitry Anisimov ed79fea30e fixed wrong defines in boost mp arithmetic kernel 2022-05-03 10:54:53 +02:00
Sébastien Loriot 0779373835 extra run of the script to remove tabs and trailing whitespaces
right after the  merge of 4.14 release branch

+ manual fix on one line in:
    * Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
    * .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Sébastien Loriot 52164b1fba First pass on removing license notice in header for LGPL files 2019-10-19 15:40:30 +02:00
Sébastien Loriot 7356421d80 introduce Commercial license SPDX tag 2019-10-19 12:15:19 +02:00
Sébastien Loriot 9bd9c68b83 update LGPL[23]+ and GPL[23]+ SPDX tags
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Marc Glisse 455d93def3 Remove redundant includes. 2018-11-07 14:19:39 +01:00
Marc Glisse 0211ca58c7 Include CGAL/gmp.h before the boost multiprecision GMP wrapper, for warnings. 2018-11-07 14:06:57 +01:00
Marc Glisse 6bf9913015 Add $URL$ and $Id$.
I thought those were long dead...
2018-10-16 15:05:17 +02:00
Marc Glisse 3aa3e81871 Add SPDX headers ??? 2018-10-16 14:38:12 +02:00
Marc Glisse 469d63f9d6 More support for Boost.Multiprecision wrapper to GMP (untested). 2018-10-15 15:42:56 +02:00
Marc Glisse 5d86761acb arithmetic kernel for boost multiprecision GMP wrapper (untested) 2018-10-15 15:42:56 +02:00
Marc Glisse 7f9c334a89 Support gmp_rational from boost (completely untested) 2018-10-15 15:42:56 +02:00
Marc Glisse 4bb4fde1f7 Missing includes and I/O. 2018-10-15 15:42:56 +02:00
Marc Glisse 7857964f3b Some coercions and an arithmetic kernel for Boost.Multiprecision. 2018-10-15 15:42:55 +02:00
Sébastien Loriot 8cdfad0d08 add missing URL and Id tags 2017-11-15 22:58:57 +01:00
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01:00
Marc Glisse 589139cf2c New GMPXX_arithmetic_kernel. 2016-10-22 21:48:27 +02: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
Andreas Fabri b5e7f4282d Add copyright file and change GF->MPI in one file 2011-10-01 07:55:55 +00:00
Sébastien Loriot 4846101f51 merge from next 2011-05-23 16:35:56 +00:00
Michael Hemmer a5f97897be remove unused files from trunk 2011-05-17 12:03:17 +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
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