Commit Graph

1432 Commits

Author SHA1 Message Date
Marc Glisse d715ddd148 Properly canonicalize the result of a subtraction in Mpzf
1000-999=0001, there are multiple leading 0s to remove.
2019-10-25 16:32:28 +02:00
Laurent Rineau 42cbce9fbf Be aware of __SOFTFP__ 2019-03-28 08:55:49 +01:00
Laurent Rineau 1aee92af75 Fix the name of the macro
Thanks Marc!
2019-03-27 18:46:20 +01:00
Maxime Gimeno 0ed39cabca Add support for arm archs in FPU.h 2019-03-27 15:34:55 +01:00
Maxime Gimeno 4353c99900 WIP 2019-03-27 10:32:48 +01:00
Laurent Rineau 8693f95dac Merge pull request #3619 from albert-github/feature/bug_headers
Update of headers
2019-02-22 16:39:09 +01:00
Sébastien Loriot 59bc453b42 first batch of replacement for level 1 in classified ref man
command used:
grep -l  "##" */doc/*/PackageDescription.txt | xargs  sed -i  -E 's/\#\#\s*([[:print:]]+[[:alnum:]])\s*\#\#\s*$/\\cgalCRPSection{\1}/'
2019-02-14 10:32:39 +01:00
Sébastien Loriot 90ad079eb4 use macro for subsections
command used:
grep -l  "###" */doc/*/PackageDescription.txt |  xargs sed -i  -E 's/\#\#\#\s*([[:print:]]+[[:alnum:]])\s*\#\#\#\s*$/\\cgalCRPSubsection{\1}/
2019-02-14 10:32:00 +01:00
Andreas Fabri a483f3442b CGAL: clean up CMakeLists.txt files in examples and tests 2019-02-13 17:29:29 +01:00
Laurent Rineau fdd8357915
Merge pull request #3580 from afabri/Stream_support-Color-GF
Fix warnings (Add/remove copy constructors, and other warnings)

Co-authored-by: Laurent Rineau <laurent.rineau@cgal.org>
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
Co-authored-by: Maxime GIMENO <maxime.gimeno@gmail.com>
2019-02-13 15:25:07 +00:00
Laurent Rineau 2f903894e5
Merge pull request #3614 from mglisse/Number_types-boost_to_interval-glisse
Rewrite to_interval for boost.multiprecision types
2019-02-07 12:48:46 +00:00
Marc Glisse 851458caab Prefer Quotient<MP_Float> to cpp_rational for now.
Keeping cpp_int for Exact_integer, since MP_Float was never an
alternative there.
2019-01-24 16:58:25 +01:00
Laurent Rineau afc3de2894
Merge branch 'master' into Stream_support-Color-GF 2019-01-23 09:37:08 +01:00
Marc Glisse 811ab8ac43 Add checks in the conversion to interval.
I am more or less asserting that x belongs to to_interval(x).
2019-01-22 18:27:36 +01:00
Marc Glisse 9f42c9380d Tighter conversion of boost multiprecision types to intervals. 2019-01-22 18:19:12 +01:00
Marc Glisse 34fdb82980 add boost types to tests 2019-01-22 15:34:36 +01:00
Marc Glisse 201b96db55 Coercion traits between builtins and expressions 2019-01-22 15:34:14 +01:00
Marc Glisse 92f55fb8ca Specialize conversion of mpz_int to interval
copy-paste of the code for Gmpz/mpz_class
2019-01-22 14:32:08 +01:00
Marc Glisse a5d89b1f33 Specialize conversion of mpq_rational to interval
copy-paste of the code for Gmpq/mpq_class
2019-01-22 14:20:43 +01:00
Laurent Rineau 80717c6f41 Merge pull request #3406 from mglisse/cgal-public-dev/Number_types-boost_mp-glisse-2
Support Boost.Multiprecision
2019-01-18 16:37:49 +01:00
Andreas Fabri 1ec37a7478 Simplify Sqrt_extension 2019-01-10 13:54:38 +01:00
Andreas Fabri 685a546c8c Fix Sqrt_extension 2019-01-09 17:33:18 +01:00
Marc Glisse ac95a7f5e8 Disable boost.mp for visual studio.
Don't bother with complicated conditions to try and enable it for
semi-old versions of boost.
2018-12-22 11:17:28 +01:00
Marc Glisse 0010225f2b Avoid TAB in new file. 2018-12-22 10:53:52 +01:00
Marc Glisse 9c30172ac5 Indent preprocessor lines 2018-12-14 16:52:10 +01:00
Andreas Fabri e294889e80 More casts to avoid warning 2018-11-29 10:46:48 +01:00
Sebastien Loriot b3503f435f
Merge pull request #3450 from mglisse/Alpha_shapes_3-lazy_to_double-glisse
Copy relative_precision_of_to_double from Lazy_exact_nt to Lazy_alpha_nt_3
2018-11-14 18:51:43 +01:00
Marc Glisse 45505a3c68 Copy relative_precision_of_to_double from Lazy_exact_nt to Lazy_alpha_nt_3. 2018-11-11 12:03:09 +01:00
Marc Glisse f6ddde739c Disable boost.multiprecision <= 1.62 because of broken I/O. 2018-11-10 12:28:05 +01:00
Marc Glisse 60bcd2ce7d Disable one more VS warning. 2018-11-09 09:53:09 +01:00
Marc Glisse 0fe37d391a Disable MS warnings. 2018-11-07 14:22:23 +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
Guillaume Damiand 7d406fbb9c
Merge branch 'master' into CGAL-cmake_cleanup-gdamiand 2018-11-05 07:32:58 +01:00
Marc Glisse 5280f9161f Replace std::(un|bin)ary_function with CGAL::cpp98. 2018-11-04 15:32:11 +01:00
Laurent Rineau 821f9c015e Merge pull request #3311 from sloriot/Doc-Pkg_link_name
Update the name of package names reference links
2018-10-29 10:27:53 +01:00
Guillaume Damiand 92ba7fa6c9 Update minimum cmake required version in all CMakeLists.txt 2018-10-18 14:49:23 +02:00
Guillaume Damiand 0c2dcf7208 Re-add include({CGAL_USE_FILE} ) in each CMakeLists.txt where CGAL is used with some component. 2018-10-18 14:38:42 +02:00
Guillaume Damiand 0bd9088b5a Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required. 2018-10-17 14:17:08 +02:00
Guillaume Damiand 7f09308d33 Remove all include_directories(BEFORE ../../include) in CMakeLists.txt 2018-10-17 13:07:22 +02: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 84832dd194 Disable Boost.Multiprecision older than 1.56. 2018-10-16 13:53:31 +02:00
Marc Glisse 3c08d129ab Missing coercion from float/double to MP_Float. 2018-10-15 15:42:56 +02:00
Marc Glisse f69e266263 Typo, I keep confusing the name of the backend with the one of the type... 2018-10-15 15:42:56 +02:00
Marc Glisse 469d63f9d6 More support for Boost.Multiprecision wrapper to GMP (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 e9a5fd1d84 Missing #include. 2018-10-15 15:42:56 +02:00
Marc Glisse d2660bd066 Bad copy-paste: forgotten replacement. 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