Commit Graph

507 Commits

Author SHA1 Message Date
Sylvain Pion c10a040c8e - Remove useless copy constructor needed for a workaround for g++ 3.0.
- Add a runtime test that tries to check if a user has forgotten -frounding-math.
- Make the code "more robust" (big quotes) against no-rounding-math compiler optimizations
  by systematically negating the second argument of CGAL_IA_MUL() and CGAL_IA_DIV()
  instead of the first, since it is the one which stops constant propagation
  (at least this way the test-suite passes even with -fno-rounding-math).
  This way -CGAL_IA_MUL(-a,b) which got wrongly optimized to CGAL_IA_MUL(a,b),
  doesn't anymore when in the form -CGAL_IA_MUL(a, -b).
  It is not bullet proof, as negations can come from further away.
  -frounding-math is still necessary.
  Getting rid of it would require more places where to call CGAL::IA_force_to_double(),
  and would be necessarily much slower.
2008-04-03 15:20:23 +00:00
Sylvain Pion 1d5c5f0100 Remove unused macro CGAL_IA_STOP_CPROP2 2008-04-03 14:38:16 +00:00
Sebastian Limbach 337eca5ccc Benchmark_rep specializations moved to CGAL. 2008-04-02 14:24:25 +00:00
Michael Hemmer 1f072cf403 CGAL_test_assert -> cassert 2008-04-01 10:15:15 +00:00
Michael Hemmer 9cbe349ce0 mv files for concept checking into Algebraic_foundations 2008-04-01 09:50:22 +00:00
Michael Hemmer 41b6ff753e added Chinese_remainder_traits for Sqrt_extension 2008-03-31 13:05:23 +00:00
Michael Hemmer de655a1527 minor changes 2008-03-31 12:54:53 +00:00
Michael Hemmer f60be6045d added tests
mv definition of Algebraic_extension_traits<Sqrt_exgtension<...> > to 
Number_types/include/CGAL/Sqrt_extension/Algebraic_extension_trait.h
2008-03-31 12:47:36 +00:00
Sylvain Pion a4c1dd0350 remove g++ 4.3 warning 2008-03-29 22:03:28 +00:00
Sebastian Limbach ed13f5af3c Reverted my changes due to missing boost-support in one configuration of the CGAL testsuite... 2008-03-28 09:25:24 +00:00
Sebastian Limbach 25f28446f1 Some (undocumented) global functions added. These functions (as for example 'in') are needed for the replacement of the EXACUS-Interval number type with CGAL Interval_nt. 2008-03-27 08:16:36 +00:00
Sylvain Pion 1d47b96e3c Remove more useless enum_cast<>. 2008-03-20 16:46:25 +00:00
Andreas Meyer 20315de571 * replaced CGAL_test_assert with ::assert, instead of CGAL_assertion
* removed include/Testsuite/assert.h
2008-03-19 13:45:36 +00:00
Michael Hemmer 48e869fb65 forgotten const 2008-03-13 10:13:22 +00:00
Michael Hemmer 033202cab7 rm test Lazy_exact_arithmetic_kernel 2008-03-12 16:39:32 +00:00
Michael Hemmer 6bd8ee0c5e preliminary bug fix for div_mod in leda_integer
it seems that leda integer is not keeping the invariant
x == y*q+r, where q = x/y and r = x%y, for all versions.
2008-03-12 14:55:53 +00:00
Fernando Cacciola b704509dcf Examples/Demos/Test CMake scripts updated 2008-03-05 21:14:02 +00:00
Michael Hemmer 68be1cfdbb cleanup
- rm duplicates of CGAL::lower/uppwer(BF)
- rm include conflicts 
- rm Float_traits (from EXACUS but not ready for CGAL)
- added specs for Get_arithmetic_kernel<BigFloat/BF_interval>
- added test for interval support at its current status
2008-03-05 16:53:13 +00:00
Michael Hemmer ec16fa2ea0 wrap up 2008-03-05 16:37:29 +00:00
Michael Hemmer 000db9f575 rm bug in to_double/ to_interval
expr.approx(53,1) changed to expr.appraox(53,1024)
since expr is approximated until relative OR absolut error is reached
2008-03-04 10:25:16 +00:00
Michael Kerber 5649a45be6 Small changes for LEDA 6.0 compatibility 2008-02-27 16:23:26 +00:00
Ralf Schindlbeck 81250fd18b Added #include <CGAL/Float_traits.h>, to avoid parsing errors. 2008-02-26 10:50:10 +00:00
Fernando Cacciola a659cd852a Added project() and conditional test for CGAL_DIR 2008-02-14 15:42:36 +00:00
Ralf Schindlbeck d38238d834 Modified, due to porting of interval_support from EXACUS2CGAL. The new
interval_support is now in the Number_types package.
2008-02-14 09:44:46 +00:00
Ralf Schindlbeck edd70f970a interval_support, is now ported from EXACUS2CGAL 2008-02-14 09:33:09 +00:00
Fernando Cacciola 14043c43a0 Replaced CGALROOT by CGAL_DIR (the latters is used by CMake automatically) 2008-02-08 17:47:21 +00:00
Fernando Cacciola afddfc4fca CMake scripts for demos/examples/test added 2008-02-06 19:06:24 +00:00
Andreas Fabri b74a7dd13f changed data member from char to bool 2008-02-06 08:56:30 +00:00
Sylvain Pion 147d4e867b Remove buggy comment :-)
(actually, a test for webdav write access)
2008-02-04 21:50:51 +00:00
Sylvain Pion c0fd30fe1e Re-add the static_cast
(the previous comment was misleading, SunPRO has nothing to do with the cast here).
2008-01-22 10:37:02 +00:00
Sylvain Pion 6a9740d043 Remove obsolete workarounds for __sgi. 2008-01-20 23:09:58 +00:00
Sylvain Pion b3b828a946 Remove obsolete workaround for SunPRO. 2008-01-20 22:01:15 +00:00
Sylvain Pion 4d1b8d63e3 Remove workarounds and support for the BORLAND compiler. 2008-01-20 20:24:20 +00:00
Sylvain Pion b24108f5fd Remove #include <cassert> from everywhere under include/CGAL/.
CGAL code has to use CGAL assertions instead.
2008-01-20 18:47:19 +00:00
Sylvain Pion 53d1ee3d7d Use <cfloat> more consistently instead of <float.h>. 2008-01-18 20:19:17 +00:00
Michael Hemmer ba837786ff rm typo 2008-01-13 10:55:48 +00:00
Sylvain Pion 7b8ba77a8f Include <CGAL/number_type_basic.h> before testing for CGAL_USE_LEDA. 2008-01-12 20:33:07 +00:00
Sylvain Pion bae7900e5f Protect by testing for CGAL_USE_LEDA. 2008-01-12 20:25:40 +00:00
Sylvain Pion accdf57415 CGAL_CFG_NO_LONG_DOUBLE_IO is not needed anymore (pgCC is fixed). 2008-01-02 16:35:13 +00:00
Sylvain Pion f90f3b6627 CGAL_CFG_LONG_LONG_IO_BUG is not needed anymore (pgCC is fixed). 2008-01-02 16:28:17 +00:00
Sylvain Pion 53de932f63 typo _MSCVER -> _MSC_VER. 2007-12-23 15:28:57 +00:00
Sylvain Pion a3851c8bf0 prevent warning with g++ for VC++ specific workaround 2007-12-23 15:25:35 +00:00
Sylvain Pion a46b55bf71 The files "changes.txt", "description.txt", "long_description.txt" and "maintainer"
are now under /trunk/$Package/package_info/$Package/ .
2007-12-02 15:06:42 +00:00
Michael Kerber 44e462a895 decompose uses Coercion_traits for Numerator and Denominator 2007-11-28 10:33:14 +00:00
Andreas Meyer c1d1609af1 replaced CGAL_assertion( false* and CGAL_assertion( 0*
with CGAL_error/CGAL_error_msg
2007-11-08 00:27:20 +00:00
Sylvain Pion df81bb3e54 Use anonymous namespaces. 2007-11-07 22:48:10 +00:00
Andreas Meyer 6623d525eb * replaced assert in */test/*/*.{cpp,h} with CGAL_test_assertion
* replaced #include <assert.h> with the according CGAL/Testsuite/assert.h
2007-11-07 21:35:42 +00:00
Andreas Meyer fdeedcf8b0 some low level code cleanup. renamed
* CGAL_error to CGAL_error_msg
* introduced a macro CGAL_error()
* added some words about CGAL_error to the developers manual
* renamed most of assert(x) into CGAL_assertion(x)
* renamed exit(x) with x != 0 , CGAL_assertion(false) and assert(false) into CGAL_error
* CORE left untouched, OpenNL changed
2007-11-07 16:51:18 +00:00
Sebastian Limbach 32b0041c55 Removed some more unnecessary semicolons. 2007-10-25 14:18:35 +00:00
Sebastian Limbach 492710ec77 Added missing include directive. 2007-10-25 14:07:40 +00:00