Commit Graph

99 Commits

Author SHA1 Message Date
Michael Hemmer c27c7af751 rm dependency from Arithmetic_kernel.h 2008-12-22 09:25:30 +00:00
Michael Hemmer 7f23bad6ff get_value returns the unique representative within the range [-p/2,p/2] 2008-12-10 12:53:12 +00:00
Michael Hemmer 73c96b99f1 more precise text about precision and rounding mode 2008-12-10 12:47:02 +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
Michael Hemmer 119f4ecdda rm precondition as it relies on side effects of Set_ieee_double_precision
that are not present on all platforms, ie, it does not set rounding mode to
nearest on Leopard (Mac)
2008-12-09 12:39:32 +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 2fe69c4c8d some words about required mantissa length refering to CGAL::Protect_FPU_rounding 2008-12-01 15:00:35 +00:00
Michael Hemmer 65d95e3355 remove warning for i686_Linux-2.6_CC-5.90_F7 2008-12-01 12:46:40 +00:00
Laurent Rineau ec9f2e29e5 Update citations (s/07/08/).
Let us hope that CGAL-3.4 will be release before 2009!
2008-11-20 22:19:28 +00:00
Andreas Fabri c40f9174a0 Size of illustration is 120x120, not 100x100 2008-11-18 13:27:45 +00:00
Michael Hemmer e7441d07b5 added illustration 2008-11-11 16:49:52 +00:00
Michael Hemmer e1737961cd uses config.h instead of basic.h 2008-11-11 15:15:36 +00:00
Michael Hemmer 1500857965 added some lines about rounding mode 2008-11-11 15:12:33 +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
Michael Hemmer 819d64b18c added assertion for FPU rounding mode 2008-10-21 16:15:19 +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
Fernando Cacciola 1879926e22 Fixed case: residue.h -> Residue.h 2008-10-09 13:11:27 +00:00
Laurent Saboret c6b21a107f Fixed compilation errors (VC++ 2005). 2008-10-08 16:32:52 +00:00
Michael Hemmer eba9e0b1ed use CGAL/config.h 2008-09-25 15:40:34 +00:00
Michael Hemmer e6c5844742 one more word about Modularizable compount types 2008-09-25 13:37:17 +00:00
Michael Hemmer 927c2e3f2d fixed index for operators 2008-09-25 13:36:19 +00:00
Michael Hemmer 8ee1a5ec59 more comments / using Gmpz again 2008-09-25 13:24:33 +00:00
Michael Hemmer 63cdada31a fixed include problems 2008-09-25 13:24:05 +00:00
Michael Hemmer 6ac8c8bb0a minor changes according to 2.review of Sylvain Pion 2008-09-25 13:23:34 +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 ffabf4f517 added Models 2008-09-17 09:15:15 +00:00
Michael Hemmer 96bbbfbfc3 typo 2008-09-17 09:15:01 +00:00
Michael Hemmer 984a5a2a24 reorganisation of introduction
more about static prime 
introduce Modularizable
2008-09-17 08:57:50 +00:00
Michael Hemmer 63d2fb4900 added license header 2008-09-17 07:49:08 +00:00
Michael Hemmer b64ff940c8 added License header 2008-09-17 07:47:12 +00:00
Michael Hemmer 3b3b7e8978 typo^2 2008-09-16 12:35:03 +00:00
Michael Hemmer e5961e97ec typo 2008-09-16 11:48:40 +00:00
Michael Hemmer 8feb631dec Residue is thread safe if CGAL_HAS_THREADS is defined 2008-09-16 11:47:30 +00:00
Michael Hemmer 41e2d1e3f2 test for thread safty of CGAL::Residue 2008-09-16 11:28:48 +00:00
Michael Hemmer 909c7ed95c made CGAL::Residue thread safe using
boost thread_specific_ptr from <boost/thread/tss.hpp>
2008-09-16 07:31:18 +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 026d2e57db added missing includes/fwd 2008-09-09 08:30:18 +00:00
Michael Hemmer 7b031d923f CGAL::Modular -> CGAL::Residue
MT::Modular_type -> MT::Residue_type
2008-09-09 08:29:41 +00:00
Michael Hemmer c64aee37fb CGAL::Modular -> CGAL::Residue
ModularTraits::Modular_type -> Residue_type
added a History section
2008-09-08 14:46:46 +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
Michael Hemmer d0722885cd class name CGAL::Modular -> CGAL::Residue 2008-08-04 14:50:05 +00:00
Michael Hemmer ca4450f1a4 rm unused variable 2008-05-16 07:39:56 +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 6d8d2e9748 and its types should be public .-) 2008-04-29 20:18:47 +00:00
Michael Hemmer 1eb1824f3d Algebraic_structure_traits is a class (not a struct) 2008-04-29 14:04:41 +00:00