Commit Graph

1332 Commits

Author SHA1 Message Date
Clement Jamin 5b9562ea84 Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2017-06-16 11:09:07 +02:00
Laurent Rineau 4238a344f2 Merge pull request #1257 from mglisse/Number_types-gmpxx-glisse
Use mpq_class rather than Gmpq if gmpxx is available.
2017-05-29 11:16:56 +02:00
Mael Rouxel-Labbé cd2a562ffa Fixed improper guards against the inclusion of deprecated headers 2017-05-16 10:17:41 +02:00
Laurent Rineau 6d79ebdaf8 Merge pull request #1916 from sloriot/Core-bug_fix_large_MSB
Fix Expr computation when a Node in the tree has a large MSB bound
2017-02-21 17:50:21 +01:00
Laurent Rineau 784ce69bea Merge pull request #1923 from sloriot/CORE-Expr_approx_bound
Make sure the approximation exceeds the separation bound
2017-02-21 17:50:08 +01:00
Sébastien Loriot 3dc5f7d800 make sure the approximation exceeds the separation bound 2017-02-21 17:12:56 +01:00
Sébastien Loriot e9cfce4f45 Do the approximation computation even if MSB bounds are too large
extLong manages overflow and underflow, this patch forces the
approximation to be done even if the bounds are too large
2017-02-20 18:15:49 +01:00
Andreas Fabri 6d7524126d Fix link to the Leda User Manual 2017-02-17 12:48:30 +01:00
Sébastien Loriot 9ae7b37845 Merge pull request #1745 from sloriot/Polyhedra_corefinement-enhancements-sloriot
Add corefinement operations in PMP
2017-01-12 12:05:18 +01:00
xantares 05fa5f88e7 Use correct Exponent type 2016-12-13 10:38:48 +01:00
Sébastien Loriot 91f0c786f0 avoid c-style cast 2016-12-12 13:09:17 +01:00
Sébastien Loriot eb6673f936 fix conversion warnings 2016-12-09 14:14:43 +01:00
Andreas Fabri 6cc1a49a2a Make convert_to_bfi() multithreading safe. Note that this code does not get tested 2016-12-01 20:49:34 +01:00
Marc Glisse cca29ccd2c Test I/O for Lazy_exact_nt<mpq_class>. 2016-10-27 21:32:48 +02:00
Marc Glisse aad47904b6 Specialize read_float_or_quotient for mpq_class.
Some solution based on Fraction_traits would be more elegant, but this
is how it is done for leda_rational, so let us remain consistent for
now.
2016-10-27 20:54:39 +02:00
Marc Glisse 38d8cae4a1 Use mpz_class rather than Gmpz if gmpxx is available.
Keep Exact_integer in sync with Exact_rational.
2016-10-27 14:00:46 +02:00
Marc Glisse f20c0d1b66 Use mpq_class rather than Gmpq if gmpxx is available. 2016-10-27 14:00:46 +02:00
Laurent Rineau 1c400420ce Merge pull request #1618 from mglisse/Number_types-gmpxx_IO-glisse
Let mpq_class read "12.34" (through iformat)
2016-10-27 12:34:37 +02:00
Marc Glisse 5fa062bea6 Specialize Input_rep for mpq_class. 2016-10-26 13:28:54 +02:00
Marc Glisse 8f44c0ca26 Use Fraction_traits::Compose more in Sqrt_extension. 2016-10-25 14:06:36 +02:00
Marc Glisse abab39c204 Remove workaround for missing arithmetic kernel. 2016-10-25 11:57:42 +02:00
Marc Glisse 589139cf2c New GMPXX_arithmetic_kernel. 2016-10-22 21:48:27 +02:00
Laurent Rineau c826500c7d Merge pull request #1551 from mglisse/Number_types-gmpxx_coercion-glisse
Misc GMPXX fixes
2016-10-20 09:47:39 +02:00
Laurent Rineau 038a310a1a Merge pull request #1446 from sloriot/CGAL-remove_dont_submit
Getting rid of the remaining dont_submit files
2016-10-17 10:01:30 +02:00
Laurent Rineau 9356ed39d4 Merge pull request #1548 from afabri/Number_types_Gmpzf_tss-GF
Number_types / Gmpzf: make static variable thread local
2016-10-17 09:59:26 +02:00
Laurent Rineau 0ab0966ada Merge pull request #1545 from afabri/Number_types_Counted_number_fix-GF
Number_types/Counted_number: Use atomic static variables
2016-10-17 09:59:23 +02:00
Laurent Rineau 9dc09d5b5f Merge pull request #1544 from afabri/Number_types_Interval_nt_fix-GF
Interval_nt: Declare the static object const.
2016-10-17 09:59:20 +02:00
Marc Glisse 3816bc4e4b Specify the right type for make_root_of_2...
It compiled but was causing an infinite recursion.
2016-10-15 18:40:02 +02:00
Marc Glisse 9ad33d47bd Specify the type for expression templates.
Get_rational_type<mpz_class> is still wrong, it should be mpq_class
instead of Quotient<mpz_class>, but I don't know if I am supposed to
define an (undocumented) arithmetic kernel for gmpxx...
2016-10-13 23:40:59 +02:00
Marc Glisse 232fc7ecf0 Help type deduction for expression template number types. 2016-10-13 11:25:59 +02:00
Marc Glisse e67219db07 Rewrite mp[qz]_class coercions. 2016-10-06 12:38:15 +02:00
Andreas Fabri 65f4c99bfd make static variable thread local 2016-10-06 09:57:49 +02:00
Sébastien Loriot f15ecffffd move comments to TODO 2016-10-06 09:55:50 +02:00
Andreas Fabri 2e802dd074 Use atomic static variables 2016-10-05 17:54:41 +02:00
Andreas Fabri 808492b081 Declare the static object const. It is only needed for a runtime test at the start of an execution 2016-10-05 16:52:48 +02:00
Laurent Rineau 223c1cf5a4 Merge pull request #1530 from lrineau/Installation-compute_dependencies-GF
Compute and fix packages dependencies
2016-10-05 13:11:04 +02:00
Laurent Rineau 9a0bb54922 Merge pull request #1438 from sloriot/CGAL-clean_up_projects_name_cmake
Clean up projects name in cmake scripts
2016-10-05 13:02:25 +02:00
Laurent Rineau 434cbcf0bb Add missing includes 2016-09-30 15:23:15 +02:00
Laurent Rineau 51f5697d3d Add missing #include 2016-09-30 15:23:14 +02:00
Andreas Fabri a961b88783 Fix package Modular_arithmetic: include headers 2016-09-30 15:22:28 +02:00
Laurent Rineau 8d31ad7a3e Merge pull request #1375 from afabri/Number_types-thread_safety-GF
make relative precision thread local
2016-09-23 16:46:33 +02:00
Andreas Fabri f1cc37599c Document that the precision is thread local 2016-09-21 17:45:02 +02:00
Clement Jamin a664634a9f Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2016-09-20 16:10:13 +02:00
Laurent Rineau e2d04e54e0 Merge remote-tracking branch 'cgal/releases/CGAL-4.8-branch'
> 3176b37 Merge pull request #1452 from mglisse/Number_types-Eigen_Literal-glisse
> 1705702 Merge pull request #1417 from afabri/Polyline_simplification-Bugfix_choose_correct_Itag-GF
> 3bef239 Merge pull request #1462 from sloriot/PMP-add_missing_include
2016-09-15 17:25:20 +02:00
Marc Glisse b7b492d9c8 Manually define Eigen::NumTraits<NT>::Literal for each specialization.
Defined to NT, no try is made to optimize for now.
2016-09-14 13:12:35 +02:00
Marc Glisse c86749ba01 Revert "Derive all NumTraits specializations from GenericNumTraits."
This reverts commit c56c5b0241.
2016-09-14 13:04:05 +02:00
Marc Glisse ddb5bf91e8 Optimize NumTraits::Literal for intervals. 2016-09-13 14:38:47 +02:00
Marc Glisse c56c5b0241 Derive all NumTraits specializations from GenericNumTraits. 2016-09-13 14:31:58 +02:00
Clement Jamin fa6ecf39be Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2016-09-09 12:55:43 +02:00
Sébastien Loriot 7e2ee496de update project name of cmake scripts of tests 2016-09-08 00:26:37 +02:00