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
Sylvain Pion
477da3d6c5
- Add a function constant<T, int i>() which returns a const reference to T(i).
...
(to be used in the kernel to have PointC2::hw() return a const ref.)
2006-08-08 14:34:40 +00:00
Pedro Machado Manhaes de Castro
0b5364ba5c
Fixing Warning with -W pointed by Sylvain Pion
2006-08-08 08:11:57 +00:00
Andreas Meyer
b454b3febd
manual cleanup:
...
* .C ---> .cpp
* removed ../examples from paths
* moved some demo/example files out of doc_tex into their respective place
* now it should build properly, again
2006-08-07 16:43:09 +00:00
Andreas Fabri
8f5c6dc22c
Use _controlfp_s for VC8, as _controlfp got deprecated
2006-08-07 14:52:38 +00:00
Andreas Fabri
1aa128f0b6
replaced gama with gamma
2006-08-07 09:00:52 +00:00
Sylvain Pion
ae3c5ab81f
remove SunPRO warnings
2006-08-07 07:08:07 +00:00
Sylvain Pion
45cc86db31
Add profile counters
2006-08-06 20:09:42 +00:00
Sylvain Pion
6fcc164eb1
When assertions are enabled, initialize Interval_nt
...
reliably to [1;0], to help deterministic/portable debugging.
2006-08-05 13:36:48 +00:00
Sylvain Pion
987b1db455
Add missing #include.
2006-08-04 21:00:11 +00:00
Sylvain Pion
090cd4e34e
typo
2006-08-04 17:51:57 +00:00
Sylvain Pion
3838044dcf
Add CGAL_PROFILER() to various places in Lazy_exact_nt.
2006-08-04 17:42:57 +00:00