diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2008-06-09 16:21:34 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2008-06-09 16:21:34 +0000 |
commit | 848beb58ea198fd097580c88aad2e3a1710ea2f6 (patch) | |
tree | 818bc126517334c30221369a1182e6dbf3dd6fd7 /tests/tdiv.c | |
parent | f4f81f4b9304078e5d484c52209031391c57bb03 (diff) | |
download | mpfr-848beb58ea198fd097580c88aad2e3a1710ea2f6.tar.gz |
Clean-up and various changes to be able to build MPFR with g++.
But the following 3 tests currently fail with g++ 4.3.1:
FAIL: tprintf
FAIL: tsprintf
FAIL: tfprintf
This is an "Illegal instruction" error, so probably a bug in g++.
[Edit: acinclude.m4 now uses gl_SIZE_MAX, typically from size_max.m4,
but which is not installed on all machines; this will be added to the
MPFR repository in changesets 5680 and 5683.]
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5385 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tdiv.c')
-rw-r--r-- | tests/tdiv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tdiv.c b/tests/tdiv.c index 05437d16f..6cf099ac9 100644 --- a/tests/tdiv.c +++ b/tests/tdiv.c @@ -589,7 +589,7 @@ check_inexact (void) mpfr_set_prec (y, py); mpfr_set_prec (z, py + pu); { - rnd = (mp_rnd_t) RND_RAND (); + rnd = RND_RAND (); inexact = test_div (y, x, u, rnd); if (mpfr_mul (z, y, u, rnd)) { @@ -744,7 +744,7 @@ consistency (void) mp_prec_t px, py, pz, p; int inex1, inex2; - rnd = (mp_rnd_t) RND_RAND (); + rnd = RND_RAND (); px = (randlimb () % 256) + 2; py = (randlimb () % 128) + 2; pz = (randlimb () % 256) + 2; |