Commit Graph

524 Commits

Author SHA1 Message Date
Michael Kerber 3f83eb92e1 Removed debug printout 2008-05-20 11:28:22 +00:00
Michael Kerber f84cbd6be5 Changed bugfix for hull-algorithm 2008-05-20 09:20:46 +00:00
Michael Kerber 2b555f767f Workaround for two problems with CORE::BigFloats 2008-05-19 12:30:39 +00:00
Michael Hemmer acabae22e2 readded interval_support.h for backward ccompatibility
to be removed again
2008-05-15 08:17:39 +00:00
Michael Hemmer f754b26311 added missing namespace qualifier
--Trhis line, and those below, will be ignored--

M    CGAL/CORE_BigFloat.h
2008-05-14 10:15:43 +00:00
Michael Hemmer 3f3c724b00 rm interval_support
added Interval_traits, Bigfloat_interval_traits
mv function convert_to_bfi into extra file convert_to_bfi.h
2008-05-14 10:10:35 +00:00
Michael Hemmer 4603598e7c rm interval_support
added Interval_traits, Bigfloat_interval_traits
mv function convert_to_bfi into extra file convert_to_bfi.h
2008-05-13 13:46:44 +00:00
Michael Hemmer 8320234d00 deprecated 2008-05-13 11:23:41 +00:00
Michael Hemmer 82fe4c5f04 added Interval_traits and test for intervals
- boost::numeric::interval<leda::bigfloat>
- CORE::BigFloat is considered as an Interval 
adapted Coercion_traits/Arithmetik_kernel
2008-05-13 08:42:27 +00:00
Fernando Cacciola f93437ca22 Removed *unmodified* auto-generated CMakeLists.txt (now created by create_internal_release) 2008-05-05 14:01:55 +00:00
Michael Hemmer 90d70842a3 Get_arithmetic_kernel is a struct (not a class) 2008-04-29 14:20:04 +00:00
Michael Hemmer 853db73f16 Needs_parents_as_product is a struct (not a class) 2008-04-29 14:08:02 +00:00
Michael Hemmer 34f55fa0f0 Chinese_remainder_traits is a class (not a struct) 2008-04-29 14:04:11 +00:00
Michael Hemmer 7d2514e5da consistent use of struct for traits 2008-04-28 08:20:30 +00:00
Michael Hemmer b985326401 Had changed in_zero to zero_in in the last commit by accident
However, it seems that this is the proper way to call it
This commit adds CGAL::in_zero for backward compatibility with other packages until the new name is decided.
2008-04-11 13:56:08 +00:00
Michael Hemmer e9fbff8a97 added new traits Interval_traits
Bigfoat_interval_traits currently derives from it. 
General Inerval Functors (Upper,Lower,...) are moved to Interval_traits
Several Functors are added e.g. Median (names are compliant with boost::interval)
Functor adapting functions are available
TODO: define/test/name get_significant_bits  ?log_relative_error?
2008-04-10 07:43:15 +00:00
Michael Hemmer 93284571db rm unused variable 2008-04-09 12:11:53 +00:00
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