Commit Graph

1562 Commits

Author SHA1 Message Date
Laurent Rineau 430954dca3 Merge pull request #4855 from lrineau/CGAL-fix_LEDA-GF
A few fixes to our LEDA testsuite
2020-07-23 17:15:14 +02:00
Laurent Rineau e2e623c8a7 Without find_package(GMP), GMP_FOUND does not exist in this scope
... and then some programs are not tested.
2020-07-21 17:24:47 +02:00
Laurent Rineau 66040cb5f3 A few fix to our LEDA testsuite 2020-07-20 17:13:01 +02:00
Simon Giraudot 89285f1feb Merge remote-tracking branch 'mine/CMake-Third_party_imported_targets-GF' into CMake-Third_party_imported_targets-GF 2020-05-28 08:53:17 +02:00
Laurent Rineau 7173530dad Merge pull request #4557 from lrineau/NewKernel_d-det-GF-CGAL-5.0
NewKernel_d: Accelerate by using Mpzf instead of Gmpq (CGAL-5.0 and later)
2020-05-27 18:27:56 +02:00
Laurent Rineau 14c3b7ec72 Merge pull request #4640 from mglisse/spaceship
C++20 fixes
2020-05-27 16:33:33 +02:00
Marc Glisse 7a35fbe6fb Drop useless template parameter 2020-05-22 12:28:46 +02:00
Marc Glisse ad758d0e6e Revert spaceship on Gmpq
it causes trouble with other classes, and not just for visual studio
2020-05-20 11:59:03 +02:00
Marc Glisse 12c7bb2abd More mixed MP_Float operations for visual studio 2020-05-19 11:26:21 +02:00
Marc Glisse a7ccc80f18 comparisons for MP_Float 2020-05-17 11:42:10 +02:00
Maxime Gimeno c15d63000f Fix min max errors 2020-05-14 10:49:12 +02:00
Mael Rouxel-Labbé 8a52dd3393 Remove trailing whitespace / tabs 2020-05-12 11:21:06 +02:00
Sébastien Loriot aa8d809fc4 Merge remote-tracking branch 'cgal/releases/CGAL-5.0-branch' 2020-05-05 14:41:30 +02:00
Sébastien Loriot 6c94c1501e Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch' 2020-05-05 14:40:55 +02:00
Sébastien Loriot 0ebe5350db fix interval
Fix suggested by Stefan Schirra following recommendation in Stefan Funke's Diplomarbeit
2020-04-30 11:12:12 +02:00
Maxime Gimeno 5b2d46cfa0 Fixes for min/max 2020-04-21 12:04:45 +02:00
Maxime Gimeno 50766d9d03 Fixes for min/max 2020-04-21 11:52:56 +02:00
Maxime Gimeno e9d41d7b7d Fixes for min/max 2020-04-21 11:38:37 +02:00
Simon Giraudot 1dd6a665a1 Merge remote-tracking branch 'mine/CMake-Third_party_imported_targets-GF' into CMake-Third_party_imported_targets-GF 2020-04-20 09:09:32 +02:00
Simon Giraudot 421096fd7f Use imported targets everywhere 2020-04-15 14:06:13 +02:00
Marc Glisse 8b79068a12 friend operator== for Quotient 2020-04-11 13:19:06 +02:00
Marc Glisse 84d2f1de5d Remove wrong noexcept
I copy-pasted them a bit too fast...
2020-04-11 12:26:55 +02:00
Marc Glisse c1f2fdecba Make mixed comparisons friends for Lazy_exact_nt 2020-04-11 12:12:27 +02:00
Marc Glisse 58e3720962 Replace boost::totally_ordered* with <=> for Gmpq 2020-04-11 11:24:26 +02:00
Marc Glisse 0c6ce981a3 Missing functions in Mpzf and new test 2020-04-10 20:09:43 +02:00
Marc Glisse 0a16ab8395 Move constructor for Mpzf 2020-04-08 22:05:20 +02:00
Sébastien Loriot fdb17cb3f1 extra run of the script to remove tabs and trailing whitespaces 2020-03-26 19:26:10 +01:00
Sébastien Loriot 38789af55d Update branch from master after trailing whitespaces and tabs removal 2020-03-26 19:25:47 +01:00
Sébastien Loriot 8bb22d5b2c extra run of the script to remove tabs and trailing whitespaces
right after the merge of the 5.0 release branch

+ manual fix of the files (indentation was changed in the meantime):
   * Spatial_sorting/include/CGAL/Multiscale_sort.h
   * Spatial_sorting/test/Spatial_sorting/test_multiscale.cpp
2020-03-26 14:26:59 +01:00
Sébastien Loriot 8b153fb495 Merge branch 'cgal/releases/CGAL-5.0-branch'
whitespace+tab removal, merged with option -Xignore-space-change
2020-03-26 14:22:32 +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 0a46621dc6 Merge branch 'cgal/releases/CGAL-4.14-branch'
whitespace+tab removal, merged with option -Xignore-all-space
2020-03-26 13:28:46 +01:00
Sébastien Loriot 590612a563 run the script to remove tabs and trailing whitespaces 2020-03-26 13:25:16 +01:00
Sébastien Loriot cc1bd20c7c Merge pull request #4356 from sgiraudot/Documentation-Update_cmake_variables-GF
Third party libs: improve documentation + introduce new CMake functions
2020-03-17 18:19:40 +01:00
Simon Giraudot 82926482d6 Fix eigen numtraits 2020-03-16 09:02:31 +01:00
Simon Giraudot 2112a3641a Add missing inheritance to Eigen::NumTraits<CGAL::Sqrt_extension<...> > 2020-03-12 10:37:23 +01:00
Marc Glisse 3e4c0d28e5 More swaps. 2020-02-25 01:29:48 +01:00
Simon Giraudot e9ab820e47 Fix Eigen size type 2020-02-13 09:39:31 +01:00
Marc Glisse 6c65f5d929 Some noexcept, swap, etc to help Handle* types 2020-02-12 09:42:51 +01:00
Laurent Rineau 406b6faec0 Fix: retrieving FPU rounding mode broken on mips
Fix issue #4399.
2020-02-11 13:59:56 +01:00
Simon Giraudot 1035934b98 Bugfix: move eigen target after MPFI use file 2020-02-11 13:47:11 +01:00
Mael Rouxel-Labbé d49d045e7c Fix unused typedefs warnings 2020-02-10 18:17:27 +01:00
Simon Giraudot 939259b95d Eigen cannot compute determinant() with integer types 2020-02-10 15:56:45 +01:00
Simon Giraudot 0185598aba Compile eigen.cpp test with Eigen 2020-02-10 15:56:01 +01:00
Laurent Rineau 1a562d6648 Merge pull request #4317 from mglisse/Number_types-interval_NaN2-glisse
Wrong interval multiplication with NaN
2019-11-06 17:45:31 +01:00
Marc Glisse c407516c1b Speed-up SSE NaN protection for intervals
We don't need quite as much protection as I initially added. The
essential is to avoid max(x,NaN) which would lose the value of x.
max(NaN,x) loses NaN (which means 0 for intervals), but there will
always be either another 0 or some +inf elsewhere.
2019-10-30 23:18:11 +01:00
Marc Glisse 72548ecb2d More NaN fixes for the non-SSE path. 2019-10-30 17:27:00 +01:00
Laurent Rineau c6d9dd64d9 Merge pull request #4315 from mglisse/Number_types-Mpzf_canon-glisse
Properly canonicalize the result of a subtraction in Mpzf
2019-10-29 15:23:30 +01:00
Laurent Rineau e6d86ecef7 Merge pull request #4317 from mglisse/Number_types-interval_NaN2-glisse
Wrong interval multiplication with NaN
2019-10-29 15:23:25 +01:00
Laurent Rineau 81c7f53d20 Add braces to quiet a warning
```
In file included from .../include/CGAL/long_double.h:27,
                 from .../include/CGAL/number_type_basic.h:52,
                 from .../include/CGAL/basic.h:33,
                 from .../include/CGAL/Cartesian/Cartesian_base.h:20,
                 from .../include/CGAL/Simple_cartesian.h:20,
                 from /home/cgal_tester/build/src/cmake/platforms/Fedora-32/test/AABB_tree/aabb_test_singleton_tree.cpp:4:
.../include/CGAL/Interval_nt.h: In function ‘CGAL::Interval_nt<Protected> CGAL::operator*(const CGAL::Interval_nt<Protected>&, const CGAL::Interval_nt<Protected>&)’:
.../include/CGAL/Interval_nt.h:664:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
  664 |       if (b.inf()>=0.0)    // b>=0
      |          ^
```

I have added more than the single necessary pair of braces, by symmetry.
2019-10-29 09:45:16 +01:00