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
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
Michael Hemmer
65d95e3355
remove warning for i686_Linux-2.6_CC-5.90_F7
2008-12-01 12:46:40 +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
63cdada31a
fixed include problems
2008-09-25 13:24:05 +00:00
Michael Hemmer
b64ff940c8
added License header
2008-09-17 07:47:12 +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
cf7e170ec8
Modular_traits::Modular_image_inv -> Modular_image_representative
2008-09-09 12:54:08 +00:00
Michael Hemmer
026d2e57db
added missing includes/fwd
2008-09-09 08:30:18 +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
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
Michael Hemmer
e42a22537a
use boost::ordered_field_operators1
...
modular arithmetic needs ieee double precision
2008-04-28 11:31:48 +00:00
Michael Hemmer
97b300b576
added Coercion_traits for interoperability with short/int/long
2008-04-28 11:29:26 +00:00
Michael Hemmer
c7a76c726a
added function CGAL::modular_image
2008-03-31 12:52:13 +00:00
Michael Hemmer
ef862d658e
added primes.h/.cpp (contains precomputed primes)
2008-03-31 12:50:54 +00:00
Sylvain Pion
360d29f72a
Rename CGAL_CIRC_NULL to CGAL_NULL.
2007-12-28 15:40:36 +00:00
Michael Hemmer
f586999c77
added header
...
.C -> .cpp
2007-12-20 11:58:01 +00:00
Sylvain Pion
204f534008
Add protect macro and header.
2007-12-20 10:28:54 +00:00
Sebastian Limbach
f30fc775ae
Changed LiS_HAVE_LEDA to CGAL_USE_LEDA.
2007-09-03 13:40:13 +00:00
Sebastian Limbach
43a788fe43
Removed primes.
2007-08-06 11:56:41 +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
Sebastian Limbach
a907ead17b
Moved Modular::CST_CUT to Modular_type.cpp
2007-08-02 13:25:45 +00:00
Sebastian Limbach
c1aadfd606
Moved Modular_traits specializations out of Modular_arithmetic package to the respective Number_types.
2007-08-02 09:36:48 +00:00
Sebastian Limbach
b3d5e444ad
Definition of static const class member moved outside of the class.
2007-08-01 11:43:25 +00:00
Sebastian Limbach
8d9448255a
Ascii-output modified to output an int for better readability.
2007-07-31 14:24:20 +00:00
Sebastian Limbach
76fab927a0
Modular traits for polynomials is now available in the polynomial package.
2007-06-04 10:51:02 +00:00
Michael Hemmer
2a6771bedc
added spec for CORE::BigInt
...
added guards for leda / core
2007-04-17 20:01:03 +00:00
Michael Hemmer
7499beea11
changed Is_convertible into Is_modularizable
2007-03-28 12:58:13 +00:00
Michael Hemmer
072bb18304
move type Modular into Modular_arithmetic/Modular_type.h
...
#include Modular.h to gain CGAL support
2007-03-28 10:30:03 +00:00
Michael Hemmer
5da9da84a8
update with respect to changes in Polynomial
2007-03-28 10:28:33 +00:00
Michael Hemmer
b6905727c0
minor changes
2007-03-28 08:46:23 +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
74b1c08157
rm minor bug
2006-12-17 13:26:24 +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