Commit Graph

37 Commits

Author SHA1 Message Date
Sylvain Pion 8573fe26ce Rename CGALi to internal. 2009-08-24 17:10:04 +00:00
Michael Hemmer c27c7af751 rm dependency from Arithmetic_kernel.h 2008-12-22 09:25:30 +00:00
Michael Hemmer 1aabe3b9e9 Residue needs ieee double precion as well as rounding mode to nearest
use CGAL::Protect_FPU_rounding<true> pfr(CGAL_FE_TONEAREST)
2008-12-10 10:19:44 +00:00
Sylvain Pion af48d47506 Replace Protect_FPU_rounding<true> pfr(CGAL_FE_TONEAREST)
by Set_ieee_double_precision.
2008-12-03 21:42:28 +00:00
Sylvain Pion 4251273447 Introduce a new class Set_ieee_double_precision, in order to provide
a better alternative to Protect_FPU_rounding(CGAL_FE_TONEAREST) which is
slightly unrelated.

If it works, then let's use it in the places that have recently been using
Protect_FPU_rounding for this issue.
2008-12-03 14:43:43 +00:00
Michael Hemmer b5d0eee4b4 set proper rounding mode 2008-10-29 08:27:29 +00:00
Michael Hemmer 2ae6fda863 Enforce IEEE double precision before using modular arithmetic 2008-10-22 08:55:03 +00:00
Andreas Fabri 5a52575d39 Remove force_ieee_double_precision(); as this is a global side effect; TODO: Add preconditions in the operations which require this setting 2008-10-17 13:14:08 +00:00
Michael Hemmer b435ce515d fixed use of CGAL_USE_GMP/XX 2008-10-13 12:35:49 +00:00
Michael Hemmer 63cdada31a fixed include problems 2008-09-25 13:24:05 +00:00
Michael Hemmer 54ea4a46a9 types that have a demonintor are not Modularizable
denominator could become zero mod prime
2008-09-25 09:13:21 +00:00
Michael Hemmer 41e2d1e3f2 test for thread safty of CGAL::Residue 2008-09-16 11:28:48 +00:00
Michael Hemmer f0f5deb310 filename according to class name 2008-09-09 13:08:29 +00:00
Michael Hemmer cf7e170ec8 Modular_traits::Modular_image_inv -> Modular_image_representative 2008-09-09 12:54:08 +00:00
Michael Hemmer 3d75f7fea6 added Modular_traits for several types 2008-09-09 11:57:05 +00:00
Michael Hemmer cff191916d changed name: CGAL::Modular -> CGAL::Residue
chnaged filenames accordingly 
changed: Modular_traits::Modular_NT -> Modular_traits::Residue_type
2008-08-04 15:09:13 +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 e42a22537a use boost::ordered_field_operators1
modular arithmetic needs ieee double precision
2008-04-28 11:31:48 +00:00
Michael Hemmer 55bd73a38c not needed 2008-04-01 10:23:00 +00:00
Michael Hemmer 9ea46f65a0 changes according to new possition of test files for concept checks 2008-04-01 10:22:16 +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
Fernando Cacciola b704509dcf Examples/Demos/Test CMake scripts updated 2008-03-05 21:14:02 +00:00
Fernando Cacciola a659cd852a Added project() and conditional test for CGAL_DIR 2008-02-14 15:42:36 +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
Michael Hemmer f586999c77 added header
.C -> .cpp
2007-12-20 11:58:01 +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
Sebastian Limbach 06a7bf4892 Test for leda::rational, CORE::BigRat and Sqrt_extension added. 2007-08-06 12:30:34 +00:00
Sebastian Limbach e06888b948 Typo removed. 2007-08-06 12:17:43 +00:00
Michael Hemmer 51aff49c95 fixed Modular_traits test 2007-08-06 11:52:37 +00:00
Sebastian Limbach a08024039b Corrected relative path to additional include directory for test suite to work correctly. 2007-08-02 14:46:28 +00:00
Sebastian Limbach 1793da5074 Removed files with outdated algorithms/data structures, as pre-decided with Michael Hemmer. 2007-08-02 14:38:41 +00:00
Michael Hemmer 7499beea11 changed Is_convertible into Is_modularizable 2007-03-28 12:58:13 +00:00
Michael Hemmer 7564197ff6 added test for Modular_traits 2007-03-28 10:42:40 +00:00
Michael Hemmer 18fe21ad29 rm dummy file src_Modular.C 2007-03-28 10:27:16 +00:00
Michael Hemmer 60ef82986d rm file Modular_type
added test for class Modular
added separate test for class Modular_traits
2007-03-02 12:02:31 +00:00
Michael Hemmer 372fe0cfce added initial version of package Modular_arithmetic
contains a 
  Modular_type 
  Modular_traits 
preliminar version of :
  chinese_remainder
  modular_gcd ( up to constant factor )
  TODO: implement true modular gcd for multivariat polynomials
2006-12-11 14:12:20 +00:00