Clement Jamin
97d8aaa634
Fix merge error from March
2015-10-01 17:21:38 +02:00
Guillaume Damiand
13de3265b6
Cleanup Residue_type.h for cgal header only
2015-06-09 16:27:33 +02:00
Guillaume Damiand
6b3fbfb5ef
io static methods
2015-03-16 17:14:56 +01:00
Guillaume Damiand
9c78897ba5
Merge branch 'CGAL_headers_only-gdamiand_cjamin-old' into CGAL_headers_only-gdamiand_cjamin
2015-03-16 14:00:43 +01:00
Alexander Kobel
feb4298699
update docstring about largest/initial prime in prime list
2014-11-24 10:53:16 +01:00
Alexander Kobel
11c9deb31b
add const for prime list
2014-11-24 10:52:38 +01:00
Alexander Kobel
fb93886709
add constructor for Residue from long long
2014-11-24 10:48:20 +01:00
Guillaume Damiand
87968c0b6e
Keep non const version for non header version (TRANSLATION, ROTATION, SCALING, REFLECTION, IDENTITY and primes)
2014-11-15 18:23:55 +01:00
Guillaume Damiand
f7cb6fc7e2
add a missing impl file
2014-11-14 17:28:42 +01:00
Guillaume Damiand
ef550fd3bb
Ok for first version.
2014-11-14 17:22:06 +01:00
Guillaume Damiand
b92bcae1a9
Header only for Residue_type.cpp
2014-11-14 14:53:54 +01:00
Guillaume Damiand
d3452cff45
Version header only for primes.cpp
2014-11-14 14:33:31 +01:00
Alexander Kobel
70d264be3a
add precondition arg != 0 for modular inversion
...
replaces
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Modular_arithmetic_div_by_zero
2014-02-11 10:14:20 +01:00
Alexander Kobel
8ea840d722
fix Residue constructor from long int
...
see feature description, change 2.2:
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Modular_arithmetic_fixes
2014-02-11 10:14:20 +01:00
Laurent Rineau
a04891ff93
WARNFIX: fix some warnings triggered by -Wconversion on g++
2012-08-09 16:06:54 +00:00
Laurent Rineau
db194534c7
First big patch to fix -Wunused-local-typedefs
...
-Wunused-local-typedefs is a new warning flag of gcc-4.7, and it will enabled
by -Wall since gcc-4.8 (not yet released).
The fix is a big set of removals of unused typedefs (or comments, or moves,
depending on the context).
2012-08-01 13:29:16 +00:00
Sébastien Loriot
91a5327fa8
change LGPLv2 -> LGPLv3
2011-10-10 13:48:25 +00:00
Andreas Fabri
cbfe32ce37
Add declspecs for Visual C++ so that we can build dlls
2011-10-05 19:12:23 +00:00
Sébastien Loriot
52317dd49f
add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
...
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Michael Hemmer
f01f585049
fix license header
2010-02-01 12:19:55 +00:00
Laurent Rineau
83912b2952
Massive fix of svn:keywords properties, and $URL$ keyword.
2009-10-20 08:59:26 +00:00
Sylvain Pion
8573fe26ce
Rename CGALi to internal.
2009-08-24 17:10:04 +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
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