Sylvain Pion
bb512eba95
Undo change r34697, as <boost/config.hpp> is already
...
centrally included from <CGAL/basic.h>.
2006-10-05 12:54:40 +00:00
Sylvain Pion
2dde31f58b
Add missing #include <boost/config.hpp> required by BOOST_PREVENT_MACRO_SUBSTITUTION
2006-10-05 12:04:31 +00:00
Monique Teillaud
26e720bb45
bug fix
2006-09-29 15:53:52 +00:00
Pedro Machado Manhaes de Castro
0e411d7e3b
10.000
2006-09-29 08:45:39 +00:00
Pedro Machado Manhaes de Castro
a87db1810c
Adding the possibility to create a histogram of the number of digits during the computation of Root_of_2
...
The histogram is stored on:
Root_of_2::histogram as a static array of integers
Root_of_2::max_num_digit as the maximum of number of digit reached (int)
(The histogram cannot go further then 10.000 digits)
2006-09-29 08:45:07 +00:00
Monique Teillaud
e4d6982fe2
bug fixes
2006-09-29 08:17:16 +00:00
Pedro Machado Manhaes de Castro
14a3d775af
Joining the party
2006-09-21 11:21:27 +00:00
Andreas Fabri
4c6253b605
Added include <vector>
2006-09-21 07:53:49 +00:00
Andreas Fabri
85f4593633
added inline
2006-09-20 07:19:23 +00:00
Bernd Gärtner
fc6a79c9b7
added handling of '+' in Gmpz and Gmpq input operators
2006-09-19 13:46:34 +00:00
Bernd Gärtner
1eacf8812b
read Gmpq from floating point value in stream
2006-09-19 12:45:19 +00:00
Sylvain Pion
2cfce99aa6
include math.h for nextafter() (required by sunpro).
2006-09-16 06:17:16 +00:00
Bernd Gärtner
b7083a68f6
changed tags to reflect the fact that both Gmpz and MP_Float have gcd and
...
exact divisionx
2006-09-14 14:10:10 +00:00
Bernd Gärtner
2299b9a550
visual pragma stuff removed
2006-09-14 12:25:16 +00:00
Bernd Gärtner
5d1f0f1af5
removed superfluous Gmpzf::'s in class definition
2006-09-14 11:11:21 +00:00
Bernd Gärtner
db52b35547
- moved Gmpzf sources back to h-file to avoid GMP stuff in libCGAL
...
- replaced static class members by static variables in the respective functions
2006-09-14 11:03:03 +00:00
Monique Teillaud
72aa8020e9
added: addition when same discriminant
2006-09-13 14:26:40 +00:00
Bernd Gärtner
9c14847f11
inline constructors removed + license changed to LGPL
2006-09-07 14:12:54 +00:00
Bernd Gärtner
be3769b2b1
separation between declarations/definitions
2006-09-07 13:29:21 +00:00
Bernd Gärtner
d0c9a6f986
Gmpzf sources
2006-09-07 13:28:17 +00:00
Bernd Gärtner
3df813e25c
added #include<CGAL/basic.h>
2006-09-04 12:46:22 +00:00
Bernd Gärtner
a26ef29fe3
- introduced new exact floating point type Gmpzf, based on mpz_t. This
...
is a faster alternative to MP_Float if GMP is installed; currently,
this type is used in the QP_solver. Not all features are tested yet
- introduced exact_division in Quotient
2006-08-31 11:26:25 +00:00
Andreas Fabri
71e5dbd0c4
VC8(64bits) doesn't support the _asm keyword
2006-08-28 12:56:10 +00:00
Bernd Gärtner
8b27f03954
exact_division() for Gmpq and postcondition fix in exact_division() for Gmpz
2006-08-25 14:04:06 +00:00
Andreas Fabri
10504b4f3b
nextafter is not in std
2006-08-24 16:27:51 +00:00
Andreas Fabri
936b251f73
Added 'return'
2006-08-24 15:35:28 +00:00
Sylvain Pion
9ff8a95ba6
Minor code simplification.
2006-08-24 15:17:12 +00:00
Andreas Fabri
98c21e12ce
for our friends in Seattle
2006-08-24 15:15:35 +00:00
Sylvain Pion
0a94a70989
Fixes for the division with remainder.
2006-08-24 13:07:03 +00:00
Sylvain Pion
67097a3ff3
Add and document functions that make MP_Float a EuclideanRingNumberType.
2006-08-24 09:31:53 +00:00
Sylvain Pion
36d66448ed
Division with remainder should work as well.
2006-08-24 08:35:30 +00:00
Sylvain Pion
97439e8b4f
Fix exact_division().
2006-08-23 16:41:45 +00:00
Andreas Fabri
e5676f2b3f
fix for getting #include <CGAL/Gmpq.h> out of the way
2006-08-23 13:36:11 +00:00
Andreas Fabri
c160be10b4
Put back include of Gmpq and find out what g++ really needs and VC++ doesn't
2006-08-22 21:30:37 +00:00
Sylvain Pion
11f70ec685
Undo last commit, redo correctly : Fix exact_division() wrt the excess precision of the x86 FPU
2006-08-21 20:45:05 +00:00
Andreas Fabri
c3a990fa4c
Missing type was Quotient, not Gmpq
2006-08-21 20:29:09 +00:00
Sylvain Pion
c1412fbd88
Fix exact_division() wrt the excess precision of the x86 FPU
2006-08-21 20:18:28 +00:00
Pedro Machado Manhaes de Castro
991822490b
Some errors apear when we do the replacement.
2006-08-21 15:22:45 +00:00
Pedro Machado Manhaes de Castro
c0f8fae53f
Replacing:
...
#include <CGAL/Gmpq.h>
by:
#include <CGAL/Kernel/mpl.h>
Problem pointed by Andreas Fabri
2006-08-21 15:15:24 +00:00
Andreas Fabri
262e6c28b6
fixed min/max problem
2006-08-17 09:33:40 +00:00
Andreas Fabri
5f7a01a29a
fixed min/max problem
2006-08-17 07:54:28 +00:00
Andreas Fabri
a427ceec6a
fixed min/max problem
2006-08-16 21:29:14 +00:00
Sylvain Pion
7f91d4ffb9
These are INRIA things, not Galia/all.
2006-08-16 19:52:58 +00:00
Sylvain Pion
911e5af0fe
Fix headers : MP_Float is not common/Galia stuff, it's INRIA-only.
2006-08-16 19:45:40 +00:00
Sylvain Pion
c33e87a838
Add divides() function, and detect cases where exact_division()
...
is called when the division is not exact.
Also, rescale intermediate remainders.
2006-08-15 23:56:11 +00:00
Sylvain Pion
c1bb538eb0
Add exact_division()
2006-08-15 22:44:08 +00:00
Sylvain Pion
6695bc8e9a
Add exact_division(MP_Float)
2006-08-15 22:36:25 +00:00
Sylvain Pion
31d63cb364
add constructor from unsigned to avoid ambiguities
2006-08-10 15:49:11 +00:00
Andreas Meyer
68c3715b5c
support for LEDA 5.x (mostly done by Eric Berberich)
2006-08-10 15:14:32 +00:00
Sylvain Pion
2944326d6a
regenerate after new program addition...
2006-08-08 14:38:15 +00:00