summaryrefslogtreecommitdiff
path: root/tests/mpf_compat.h
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2015-12-27 13:31:56 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2015-12-27 13:31:56 +0000
commit6c09d02980680a37b4b7c1f2b9bdd2c81995cb02 (patch)
treec4a80b25938f898c75baeea126334ed6d1dbf1ff /tests/mpf_compat.h
parent0317ea5a8fd48fc1af0dd9a2d8d0c477b07dd4d2 (diff)
downloadmpfr-6c09d02980680a37b4b7c1f2b9bdd2c81995cb02.tar.gz
[tests]
* inp_str.dat: added a locale-independent line at the beginning of the file (useful for mpf_compat). * mpf_compat.h, tinp_str.c: update because of this change. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9773 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/mpf_compat.h')
-rw-r--r--tests/mpf_compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mpf_compat.h b/tests/mpf_compat.h
index 15f218384..ea31818fd 100644
--- a/tests/mpf_compat.h
+++ b/tests/mpf_compat.h
@@ -189,7 +189,7 @@ main (void)
if (f != NULL)
{
i = mpf_inp_str (x, f, 10);
- if ((i == 0) || mpf_cmp_ui (x, 31415))
+ if ((i == 0) || mpf_cmp_si (x, -1700))
{
printf ("Error in reading 1st line from file inp_str.data\n");
exit (1);