Commit Graph

1303 Commits

Author SHA1 Message Date
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
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
Sébastien Loriot 7e2ee496de update project name of cmake scripts of tests 2016-09-08 00:26:37 +02:00
Sébastien Loriot 641d5d51ef fix return type documentation 2016-08-30 10:27:38 +02:00
Andreas Fabri a86928b66a make relative precision thred local 2016-08-29 19:21:57 +02:00
Laurent Rineau 44b4199878 Merge pull request #1366 from lrineau/CGAL-remove_support_for_LEDA_5_and_before-GF
Remove all usage of CGAL_LEDA_VERSION
2016-08-29 12:32:24 +02:00
Sébastien Loriot 0208edcd19 add some words about to_double in Lazy_exact_nt 2016-08-26 11:00:44 +02:00
Laurent Rineau 0c690014b7 Remove all usage of CGAL_LEDA_VERSION
Now, LEDA version >= 6.0 is required if `CGAL_USE_LEDA` is toggled.
2016-08-25 14:38:16 +02:00
Simon Giraudot 9f48f3406a Fix warning for MinGW: check _MSC_VER instead of _WINC32 2016-08-10 12:33:55 +02:00
Clement Jamin dcc6766467 Add CGAL_UNUSED 2016-06-29 14:30:44 +02:00
Clement Jamin 28ed1e5a79 Move the definition of check_fpu_rounding_mode_is_restored + remove DEPRECATED 2016-06-29 12:17:06 +02:00
Guillaume Damiand a78dff1806 Remove the call of the function get_static_check_fpu_rounding_mode_is_restored from FPU_set_cw; use a const variable instead. 2016-06-29 11:55:03 +02:00
Sébastien Loriot 10cadcb985 Merge remote-tracking branch 'cgal-dev/CGAL_headers_only_step1-gdamiand_cjamin' into HEAD 2016-06-24 17:05:40 +02:00
Sébastien Loriot c951fe0fca Merge pull request #1035 from lrineau/CGAL-fix_Wconversion_warnings-GF
Fix -Wconversion warnings, and issues detected by those warnings
2016-06-24 13:30:48 +02:00
Guillaume Damiand e21ef313c0 Merge branch 'CGAL_headers_only_step1-gdamiand_cjamin-old' into CGAL_headers_only_step1-gdamiand_cjamin 2016-06-22 20:54:37 +02:00
Laurent Rineau dd1b93ae99 After feedback from @mglisse 2016-06-16 16:39:00 +02:00
Laurent Rineau fa5cb831c9 Add Output_rep<T,F>::is_specialized...
.. that allows `Dump_c3t3` to detect if a type can be streamed, using
either `operator<<` or `Output_rep<T>`.
2016-06-15 18:10:14 +02:00
Laurent Rineau 8755b6f514 Fix -Wconversion warnings in Number_types 2016-04-22 12:37:04 +02:00
Laurent Rineau ff63d8eb26 Number_types: Fix -Wconversion warnings about `istream::char_type` 2016-04-22 12:36:50 +02:00
Clement Jamin 66020d2386 Restore the test done in the destructor of Check_FPU_rounding_mode_is_restored 2016-03-09 10:35:22 +01:00
Clement Jamin d0c0737a27 Remove useless code to fix a bug 2016-03-09 10:35:22 +01:00
Clement Jamin 9a61b23b55 Use get_default_random() instead of default_random 2016-03-09 10:35:21 +01:00