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
Sylvain Pion
055785bd35
Use a custom exception type for the Uncertain<T> -> T bad conversion.
2006-08-03 10:36:37 +00:00
Pedro Machado Manhaes de Castro
fd75405b48
Removing the "compare" test, because it doesn't necessarily work, since the comparison of 2 equal things (in exact type) are not necessarily the same converted with double aproximation.
2006-07-31 08:36:18 +00:00
Sylvain Pion
f6802ef6fc
Use the new assertion exceptions instead of customizing the error handler.
2006-07-30 13:49:33 +00:00
Andreas Fabri
b737e352f3
Fixed min max problem
2006-07-30 13:27:02 +00:00
Andreas Fabri
1a5d92ab61
Fixed min max problem
2006-07-30 13:21:41 +00:00
Andreas Fabri
b80704415f
Fixed min max problem
2006-07-30 13:09:52 +00:00
Sylvain Pion
29ae445a5b
Remove obsolete /*CGAL_NO_FILTER*/ markers (they were used by Filtered_exact).
2006-07-30 13:02:57 +00:00
Andreas Fabri
aad44514f0
Fixed min max problem
2006-07-26 08:11:57 +00:00
Pedro Machado Manhaes de Castro
e74c936c39
Adding the constructor (alpha, beta, gama) text
2006-07-25 15:35:46 +00:00
Pedro Machado Manhaes de Castro
aba3f75b78
Updating the test
2006-07-25 15:35:14 +00:00
Pedro Machado Manhaes de Castro
971ba51275
Changing the representation of root_of_2 (problem arises on make_root_of_2 de Gmpq / Gmpz)
2006-07-25 15:34:50 +00:00
Pedro Machado Manhaes de Castro
57180a897e
Changing the representation of root_of_2 (a FT(x,y) constructor have to be done)
2006-07-25 15:34:31 +00:00
Pedro Machado Manhaes de Castro
c81c03dab6
Changing the representation of root_of_2 (a FT(x,y) constructor have to be done)
2006-07-25 15:34:23 +00:00