summaryrefslogtreecommitdiff
path: root/tests/tset_f.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2008-06-09 16:21:34 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2008-06-09 16:21:34 +0000
commit848beb58ea198fd097580c88aad2e3a1710ea2f6 (patch)
tree818bc126517334c30221369a1182e6dbf3dd6fd7 /tests/tset_f.c
parentf4f81f4b9304078e5d484c52209031391c57bb03 (diff)
downloadmpfr-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/tset_f.c')
-rw-r--r--tests/tset_f.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tset_f.c b/tests/tset_f.c
index 88e22aeda..e4ddc21db 100644
--- a/tests/tset_f.c
+++ b/tests/tset_f.c
@@ -48,7 +48,7 @@ main (void)
mpfr_set_f (x, y, GMP_RNDN);
mpf_urandomb (y, RANDS, 10 * GMP_NUMB_BITS);
- mpfr_set_f (x, y, (mp_rnd_t) RND_RAND());
+ mpfr_set_f (x, y, RND_RAND ());
/* bug found by Jean-Pierre Merlet */
mpfr_set_prec (x, 256);