Commit Graph

1702 Commits

Author SHA1 Message Date
Erwan Jacq da936f5b8b pedantic changes 2022-02-25 11:39:02 +01:00
Laurent Rineau f9c05a0ba1 Merge pull request #6253 from afabri/P2T2-assert-GF
CGAL:   In testcode do not use CGAL_assertion  but assert
2022-02-02 16:38:22 +01:00
Laurent Rineau ea2b81c6db Merge pull request #6261 from afabri/Number_types-boost_mp-GF
Intersections_3 :   Use Coercion_traits
2022-02-02 16:38:20 +01:00
Laurent Rineau a5a5a43205
Merge pull request #6120 from MaelRL/Kernel_23-Converter_fundamental_types-GF 2022-01-24 11:07:34 +01:00
Andreas Fabri 29fc20fc04 Fix by constructing a CFT from the double before doing operator-() ; Comment the testcase in Number_types 2022-01-20 13:04:12 +00:00
Andreas Fabri 8e29ad66fe Add test of Exact_rational - double 2022-01-20 10:34:56 +00:00
Andreas Fabri 141ac1502d Deal with Number_types 2022-01-19 07:17:49 +00:00
Mael Rouxel-Labbé cd9200091d Fix forward declaration living in the wrong namespace 2022-01-10 15:40:04 +01:00
Mael Rouxel-Labbé edb664d85a Fix the NT_converter specialization for Quotient<NT> 2021-11-16 16:39:43 +01:00
Mael Rouxel-Labbé ede68d5f41 Add a specialization for NT_converter for Quotient
Otherwise it goes through

  template <typename T>
  Quotient(Quotient<T>)

which might not work. For example,

  Quotient<Exact_NT> --> Quotient<double>

needs `to_double()`.
2021-11-10 15:58:49 +01:00
Sébastien Loriot ab48f63e30 update latest cmake version tested 2021-11-09 10:58:47 +01:00
Sébastien Loriot 58181afcdb remove useless include directives 2021-11-09 10:16:12 +01:00
Laurent Rineau a65bfabbce Merge pull request #6049 from danston/Number_types-rename_eigen_test-danston
Renamed Eigen Test in NT
2021-10-29 16:46:42 +02:00
Dmitry Anisimov d9bd316750 renamed eigen test 2021-10-13 16:00:06 +02:00
Mael Rouxel-Labbé 521c72d57e Fix typos 2021-10-04 13:34:07 +02:00
Laurent Rineau 7fc986f581 Merge pull request #5992 from afabri/CGAL-safe_functions-GF
Deal with memset, memcpy, fscanf...    and their safe equivalents
2021-09-29 11:46:44 +02:00
Andreas Fabri c9f5620fbc Add a comment that the usage of std::memcpy is safe in FPU.h 2021-09-23 17:00:10 +02:00
Sébastien Loriot 152a084019 do not include itself 2021-09-21 13:34:58 +02:00
Sebastien Loriot 4610cf3c66
Merge pull request #5904 from sloriot/CGAL-remove_config_flags
Replace macros with inline functions and remove a config flag
2021-09-10 17:38:50 +02:00
Sébastien Loriot 4afc249100 do not hide type definitions 2021-09-09 15:58:00 +02:00
Jane Tournois 8d326923fc workaround expression templates in sqrt
met with boost 1.71 and later versions
There is no compilation error with boost 1.68
2021-09-09 15:48:59 +02:00
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Sébastien Loriot 6481cb23d9 remove CXX11 config variables related to threads 2021-08-13 16:44:53 +02:00
Sébastien Loriot 63a764b79c remove some cpp0x and cpp11 config macros 2021-08-13 16:25:40 +02:00
Laurent Rineau 5759a800e3
Merge pull request #5705 from maxGimeno/CGAL-Clean_up_boost_versions-maxGimeno 2021-07-28 10:14:38 +02:00
Laurent Rineau b1ccf3fee3 Merge pull request #5402 from mglisse/mt-glisse
Epeck thread safety
2021-07-27 15:55:25 +02:00
Laurent Rineau 8c37d3e11b Merge pull request #5860 from sloriot/NT-clean_up_wa
Remove no longer needed __builtin_sqrt workaround
2021-07-27 15:55:13 +02:00
Laurent Rineau 90dafb7e8a Merge pull request #5866 from maxGimeno/FPU_fix_aarch64_def-maxGimeno
Number_types: Fix a typedef for aarch64
2021-07-27 15:55:08 +02:00
Laurent Rineau 01323fa16e Merge pull request #5860 from sloriot/NT-clean_up_wa
Remove no longer needed __builtin_sqrt workaround
2021-07-27 15:50:05 +02:00
Maxime Gimeno f8690f5a6f Use unsigned long to get a 64bits type and avoid a warning about the wrong size for the type FPU_CW_t 2021-07-23 14:43:02 +02:00
Maxime Gimeno 97cac65a86 Fix __GNUC__ tests 2021-07-23 10:59:49 +02:00
Sébastien Loriot e8993704e7 remove no longer needed workaround
it breaks code using the intel compiler on windows
2021-07-20 12:09:55 +02:00
Marc Glisse e7357ac003 Merge remote-tracking branch 'cgal/master' into mt-glisse
several PRs in Filtered_kernel conflicted with this :-(
2021-07-19 14:53:27 +02:00
Maxime Gimeno a3d1765ab4 Merge remote-tracking branch 'cgal/master' into CGAL-Clean_up_boost_versions-maxGimeno 2021-07-19 14:18:40 +02:00
Laurent Rineau f2b96a8133 Merge pull request #5584 from afabri/Number_types-Gmpq_is_zero-GF
Number_types: Add Is_zero functor for Gmpq
2021-07-07 14:37:36 +02:00
Laurent Rineau 8fa0f55ac7
Merge branch 'master' into mt-glisse 2021-05-27 10:27:38 +02:00
Maxime Gimeno a76bd6081e Replace more sc text 2021-05-21 15:45:50 +02:00
Laurent Rineau 59a0da4f13 Merge pull request #5692 from maxGimeno/CGAL_cpp11_atomic_and_threads-maxGimeno
CGAL:: Use std atomic and threads

# Conflicts:
#	Arrangement_on_surface_2/include/CGAL/Arr_counting_traits_2.h
2021-05-19 17:23:53 +02:00
Laurent Rineau 82bec8a1d6 Merge pull request #5692 from maxGimeno/CGAL_cpp11_atomic_and_threads-maxGimeno
CGAL:: Use std atomic and threads

# Conflicts:
#	Arrangement_on_surface_2/include/CGAL/Arr_counting_traits_2.h
2021-05-19 17:11:37 +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
Laurent Rineau 878afea3b8 Merge pull request #5652 from mglisse/mpzfdiv
Disable /= with CGAL_NO_MPZF_DIVISION_OPERATOR
2021-05-18 18:14:06 +02:00
Laurent Rineau 1ac4c2903a Merge pull request #5589 from MaelRL/Number_types-Fix_approx_sqrt_mpq-GF
Fix approximate_sqrt return types
2021-05-18 17:32:26 +02:00
Maxime Gimeno e6c767d5c9 Simplify the GNUC versions tests 2021-05-12 15:45:07 +02:00
Maxime Gimeno 393ae7dae6 Clean-up boost_version reqs 2021-05-12 15:03:53 +02:00
Maxime Gimeno 3e03d50b8a replace usages of CGAL::cpp11::atomic and thread by std:: calls 2021-05-07 11:10:30 +02:00
Maxime Gimeno e9b7595fff Deprecate CGAL headers for threads, atomic and result_of, and move their content to config.h as fallback 2021-05-07 11:09:24 +02:00
Sébastien Loriot 4e519a3c7a move documented IO functions in IO namespace 2021-05-05 13:15:37 +02:00
Mael Rouxel-Labbé 181cc4ebb8 Tiny logging fix 2021-04-30 17:37:31 +02:00
Mael Rouxel-Labbé 0d7eb2a933 Avoid a conversion warning 2021-04-30 17:37:05 +02:00
Marc Glisse 6f9419fb15 Disable /= with CGAL_NO_MPZF_DIVISION_OPERATOR 2021-04-28 19:18:01 +02:00