summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-06-07 07:32:09 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-06-07 07:32:09 +0000
commit61ccfdd29309acaa636943b5c6c3d356e9c83faf (patch)
treeea7dcd43033cc71409b75780a12d0cff86f46a83
parent85506fabed83a493972ca3654ad0d6f445148241 (diff)
parente31290a255dd7c7e4ef5dac84d6a38e215df66f3 (diff)
downloadmpfr-61ccfdd29309acaa636943b5c6c3d356e9c83faf.tar.gz
Merged the latest change from the trunk (r10449).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/ubf@10450 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--tests/tprintf.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/tprintf.c b/tests/tprintf.c
index aa5a540c6..fbc32734f 100644
--- a/tests/tprintf.c
+++ b/tests/tprintf.c
@@ -428,7 +428,6 @@ test_locale (void)
int i;
char *s = NULL;
mpfr_t x;
- double y;
int count;
for(i = 0; i < numberof(tab_locale) && s == NULL; i++)
@@ -439,12 +438,11 @@ test_locale (void)
mpfr_init2 (x, 113);
mpfr_set_ui (x, 10000, MPFR_RNDN);
- y = 100000;
- count = mpfr_printf ("(1) 10000=%'Rg 100000=%'g \n", x, y);
- check_length (10000, count, 33, d);
- count = mpfr_printf ("(2) 10000=%'Rf 100000=%'f \n", x, y);
- check_length (10001, count, 47, d);
+ count = mpfr_printf ("(1) 10000=%'Rg \n", x);
+ check_length (10000, count, 18, d);
+ count = mpfr_printf ("(2) 10000=%'Rf \n", x);
+ check_length (10001, count, 25, d);
mpfr_clear (x);
}