Commit Graph

31 Commits

Author SHA1 Message Date
Sébastien Loriot 138b06ca11 add missing include 2025-03-03 10:15:51 +01:00
Sébastien Loriot 3fa436459d BOOST_MPL_ASSERT -> static_assert 2022-06-10 08:46:01 +02:00
Laurent Rineau e222e772f1 Merge pull request #5589 from MaelRL/Number_types-Fix_approx_sqrt_mpq-GF
Fix approximate_sqrt return types

# Conflicts:
#	Polygon_mesh_processing/test/Polygon_mesh_processing/test_pmp_distance.cpp
2021-05-18 18:16:44 +02:00
Andreas Fabri 2849b3b785 compare() -> CGAL::compare() so that it also works with Leda 2021-04-23 11:47:24 +01:00
Laurent Rineau 23a0cf6321 Add a #include 2021-04-07 14:42:58 +02:00
Laurent Rineau 17b2546390 Use Same_uncertainty_nt 2021-04-07 14:25:30 +02:00
Mael Rouxel-Labbé fa6818b7dd Fix approximate_sqrt return types 2021-04-07 12:37:48 +02:00
Andreas Fabri dbfb7157bb Rename compare() to compare_quotients() 2021-03-30 10:14:02 +01:00
Andreas Fabri 06f625a98e Add a compare() for two rationals given as four values 2021-03-18 14:18:11 +01:00
Sébastien Loriot 0accdc3c79 add comment 2020-10-29 16:32:23 +01:00
Sébastien Loriot 061c6684fb use Sqrt function if available 2020-10-29 16:08:23 +01: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
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01:00
Jane Tournois 00f854ac2f move CGAL::approximate_sqrt, and use CGAL::to_double
move approximate_sqrt to a place where CGAL::to_double is already defined

Revert "remove CGAL:: that causes compilation error on linux"
This reverts commit c9f6591ad14fd399b5e7d24f0cb59d2158587c61.
2016-06-14 14:17:23 +02:00
Jane Tournois 4d039882f0 remove CGAL:: that causes compilation error on linux 2016-06-14 14:17:22 +02:00
Andreas Fabri ae1f695208 Document where sqrt is done approximately 2016-06-14 14:17:04 +02:00
Laurent Rineau f8b9521b3b Fix headers of Algebraic_foundations
Mostly missing headers.

But sometimes I have removed the use of <CGAL/number_type_basic.h>, because
that header is hell for the moment.
2012-10-08 08:41:43 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +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
Michael Hemmer b39ede765c added functor Inverse + global function to AF (with respect to multiplication) 2010-11-04 13:57:35 +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 c78b05b739 rename Real_embeddable_traits::Sign Sgn
added RET::Boolean, RET::Sign, RET::Comparison_result
2008-09-18 15:35:55 +00:00
Michael Hemmer 5ae691fd3b added
AST::Divides functor, required by IntegralDomain
 default implementation
 tests 
 function CGAL::divides
2008-07-16 09:24:50 +00:00
Michael Hemmer e85e499142 in function div_mod: set void as result type
,i.e., do not take it from the functor.
2007-04-03 11:08:31 +00:00
Sylvain Pion e8513e1395 Use std::iterators_traits to fetch the value_type of an iterator. 2007-03-18 17:30:43 +00:00
Michael Hoffmann da8893f720 Comment specialized compare function.
(Confuses Sunpro and seems superfluous...)
2007-02-09 13:31:57 +00:00
Michael Hemmer f002c6fd13 renaming:
AlgebraicStructureTraits::Algebraic_structure -> ..::Type
RealEmbeddableTraits::Real_emebddable -> ..::Type
CoercionTraits::Coercion_type -> ..::Type
FractionTraits::Fraction -> ..::Type
2006-11-24 10:47:04 +00:00
Michael Hemmer ca5200a713 mv basic NTS files into package Algebraic_foundations 2006-11-16 15:47:43 +00:00