summaryrefslogtreecommitdiff
path: root/tests/tsin.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
commitf0ba2dca71d2bf160ede2c02824b36796f3b7b2b (patch)
tree818bc126517334c30221369a1182e6dbf3dd6fd7 /tests/tsin.c
parenta6e5947f82762f85d2ade11f9b4153bba4774eeb (diff)
downloadmpfr-f0ba2dca71d2bf160ede2c02824b36796f3b7b2b.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/tsin.c')
-rw-r--r--tests/tsin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tsin.c b/tests/tsin.c
index 6b71fb59d..6b5348a10 100644
--- a/tests/tsin.c
+++ b/tests/tsin.c
@@ -343,7 +343,7 @@ main (int argc, char *argv[])
mpfr_set_str_binary (x, "1.1001001000011111101101010100010001000010110100010011");
test_sin (x, x, GMP_RNDZ);
- if (mpfr_cmp_str (x, "1.1111111111111111111111111111111111111111111111111111e-1", 2, 0))
+ if (mpfr_cmp_str (x, "1.1111111111111111111111111111111111111111111111111111e-1", 2, GMP_RNDN))
{
printf ("Error for x= 1.1001001000011111101101010100010001000010110100010011\nGot ");
mpfr_dump (x);