Fernando Cacciola
18bf09804d
CORRECTED fixed const correctness for update_exact()
2010-03-30 17:15:45 +00:00
Michael Hemmer
324d701903
added missing interoperable operator in Compare
2010-03-26 12:59:35 +00:00
Luis Peñaranda
f64425e78b
added #ifdef CGAL_USE_MPFI to avoid reds in the testsuite
2010-03-20 14:17:12 +00:00
Luis Peñaranda
609e787fe0
removed version check hack from test/Number_types/CMakeLists.txt
2010-03-18 11:32:36 +00:00
Michael Hemmer
2fbe557757
use macro \exacus
2010-03-16 14:57:09 +00:00
Luis Peñaranda
94f3caaf94
changed all appearances of MPFI and MPFI by \mpfr and \mpfi
2010-03-16 14:02:58 +00:00
Michael Hemmer
7515cd7436
minor fix
2010-03-11 14:02:48 +00:00
Michael Hemmer
679477b283
minor fix
2010-03-11 13:53:24 +00:00
Luis Peñaranda
2a8b15b4fa
added 'static' keyword to Gmpfi default precision variables
2010-03-09 16:42:20 +00:00
Luis Peñaranda
1064605742
added missing 'inline' keyword to Gmpfi::init_precision_for_thread()
2010-03-09 15:56:53 +00:00
Luis Peñaranda
3775b22b2f
corrected bug in constructor Gmpfr(mpfr_srcptr), only used internally by
...
Gmpfr and Gmpfi
2010-03-09 13:45:13 +00:00
Michael Hemmer
3d8d9e6e96
added bug report related to problems in Gmpfr::to_integer_exp
2010-03-09 10:08:13 +00:00
Eric Berberich
f5a3cd5bc9
removed some debug output on std::cout
2010-03-07 19:28:27 +00:00
Michael Hemmer
3c572bbaa3
fix macro name
2010-03-02 10:48:48 +00:00
Luis Peñaranda
0a5d070e9f
fixed broken \verb, which was terminated by an end of line
2010-03-02 08:14:39 +00:00
Michael Hemmer
8d563e7620
added missing precond in doc
2010-03-02 08:07:35 +00:00
Luis Peñaranda
403661c074
changed macro names reported by check_macro_names script
2010-03-01 14:16:54 +00:00
Luis Peñaranda
b869316bab
Fixed bug in Gmpfr(Gmpz) when constructing from small integers. Changed
...
assertions in Gmpfr::to_integer_exp in order to avoid eventual inexact
divisions.
2010-02-24 08:37:50 +00:00
Luis Peñaranda
ba2792244d
moved the Coercion_traits.cpp build line after the MPFI configuration
2010-02-23 09:41:26 +00:00
Michael Hemmer
91ad5bda02
minor fix, default kernel may be GMP kernel
2010-02-22 16:32:22 +00:00
Luis Peñaranda
e75225cecb
Changed Gmpfr constructors such that the conversion is always exact and
...
updated documentation.
Added constructor test to the Gmpfr testsuite.
Corrected two bugs in constructor Gmpq(Gmpfr): one when the exponent is
positive and one when the exponent is negative.
2010-02-21 16:24:52 +00:00
Michael Hemmer
9a9fe133bd
add test BigFloat to Rational (for LEDA/GMP)
...
for CORE there is not BigFloat defined
2010-02-19 15:40:56 +00:00
Luis Peñaranda
15bed06ec7
Added operators Gmpq/double. Added tests of arithmetic operators between
...
Gmpq and other GMP types. Fixed constructor Gmpfi(Gmpq).
2010-02-19 15:20:16 +00:00
Luis Peñaranda
abcfab4ee3
Added constructor Gmpq(Gmpfr) and eliminated constructor Gmpfr(Gmpq)
...
because it is not exact. Replaced all the operations between Gmpfr and Gmpq
that returned a Gmpfr by the same operations returning a Gmpq (these new
operations are exact). Changed coercion traits (I hope) accordingly.
2010-02-19 11:52:49 +00:00
Luis Peñaranda
4928db9f6b
added function Gmpz::bit_size(), documented it and added a few missing
...
functions to the Gmpz documentation
2010-02-18 16:07:52 +00:00
Michael Hemmer
172e9849f7
minor change in round and to_double due to slight semantic change
...
from get_significant_bits too relative_precision
2010-02-18 13:17:19 +00:00
Luis Peñaranda
6330e6419c
added constructor Gmpfr(std::pair<Gmpz,int>)
2010-02-17 13:19:49 +00:00
Luis Peñaranda
ffc76c165c
moved all the tests to the Gmpfi type to a single file
2010-02-17 13:12:12 +00:00
Luis Peñaranda
24e9475000
moved all the tests on the Gmpfr type to a single file
2010-02-17 10:51:36 +00:00
Sébastien Loriot
6f426bdf5c
change bad return type
2010-02-17 08:49:02 +00:00
Luis Peñaranda
14f1d38f90
corrected bug in assertions in Gmpfr::to_integer_exp()
2010-02-16 14:25:14 +00:00
Michael Hemmer
b6385c28f8
added Relative_precision to Bigfloat_interval_traits
...
replaces Get_significant_bits
2010-02-15 21:09:42 +00:00
Michael Hemmer
20cff798eb
added interoperability with unsigned long
2010-02-15 21:08:41 +00:00
Michael Hemmer
c1ca042676
to_integer_exp returns unique pair
2010-02-15 20:57:04 +00:00
Michael Hemmer
72af5b7463
added/completed interoperability with int/long/Gmpz
2010-02-15 16:42:53 +00:00
Michael Hemmer
9e2434811c
added interoperability with long
2010-02-15 16:41:56 +00:00
Michael Hemmer
e4e7fb70d5
use CGAL_HAS_XXX_KERNEL macros
2010-02-15 16:40:14 +00:00
Michael Hemmer
38684be7a1
minor
2010-02-15 16:16:39 +00:00
Michael Hemmer
309430bb6c
explicit cosntruction from unsigend long
2010-02-15 16:13:28 +00:00
Michael Hemmer
8126d7edbf
do the shift by unsigend long
2010-02-15 10:32:04 +00:00
Michael Hemmer
0411b3b084
added Interval_traits
2010-02-12 17:38:38 +00:00
Michael Hemmer
a20d5fc569
update Bigfloat_interval_traits
...
minor bug fix
2010-02-12 17:38:15 +00:00
Michael Hemmer
ed56978c2f
update Bigfloat_interval_traits
2010-02-12 17:36:55 +00:00
Michael Hemmer
d04b0ff9a1
avoid warning
2010-02-12 17:36:05 +00:00
Michael Hemmer
d8cbea27e0
update Bigfloat_interval_traits
2010-02-12 17:35:42 +00:00
Michael Hemmer
2a86a4b3e8
rm test for intervals from NT package
2010-02-12 09:47:42 +00:00
Michael Hemmer
d52888709e
mv test interval_support to its package
2010-02-12 09:27:46 +00:00
Michael Hemmer
0add1692e1
some more tests and a forgotten &
2010-02-12 09:26:20 +00:00
Michael Hemmer
2d3211a207
cosmetics
2010-02-12 09:02:36 +00:00
Michael Hemmer
dc44c7dad8
added doc for operators ++,--,>>,<<,&,|,^ and relatives
2010-02-12 08:57:17 +00:00