summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2012-06-29 17:15:10 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2012-06-29 17:15:10 +0000
commita26df81557cc914da26096fbca4bc356e8295943 (patch)
treec3418b7f830c51fb3fdbed6aa9d0368a0ca08615
parentdef9f16a27cd548e02eedba68eff6e921ef861b7 (diff)
downloadmpc-a26df81557cc914da26096fbca4bc356e8295943.tar.gz
read_data.c: english confuses the c++ compiler, speak german instead
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1207 211d60ee-9f03-0410-a15a-8952a2c7a4e4
-rw-r--r--tests/read_data.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/tests/read_data.c b/tests/read_data.c
index a9f3648..147919e 100644
--- a/tests/read_data.c
+++ b/tests/read_data.c
@@ -594,56 +594,56 @@ set_mpfr_flags (int counter)
static void
check_mpfr_flags (int counter)
{
- int old, new;
+ int old, neu;
old = (counter & 1) != 0;
- new = mpfr_underflow_p () != 0;
- if (old && (new == 0))
+ neu = mpfr_underflow_p () != 0;
+ if (old && (neu == 0))
{
printf ("Error, underflow flag has been modified from %d to %d\n",
- old, new);
+ old, neu);
exit (1);
}
old = (counter & 2) != 0;
- new = mpfr_overflow_p () != 0;
- if (old && (new == 0))
+ neu = mpfr_overflow_p () != 0;
+ if (old && (neu == 0))
{
printf ("Error, overflow flag has been modified from %d to %d\n",
- old, new);
+ old, neu);
exit (1);
}
#ifdef mpfr_divby0_p
old = (counter & 4) != 0;
- new = mpfr_divby0_p () != 0;
- if (old && (new == 0))
+ neu = mpfr_divby0_p () != 0;
+ if (old && (neu == 0))
{
printf ("Error, divby0 flag has been modified from %d to %d\n",
- old, new);
+ old, neu);
exit (1);
}
#endif
old = (counter & 8) != 0;
- new = mpfr_nanflag_p () != 0;
- if (old && (new == 0))
+ neu = mpfr_nanflag_p () != 0;
+ if (old && (neu == 0))
{
printf ("Error, nanflag flag has been modified from %d to %d\n",
- old, new);
+ old, neu);
exit (1);
}
old = (counter & 16) != 0;
- new = mpfr_inexflag_p () != 0;
- if (old && (new == 0))
+ neu = mpfr_inexflag_p () != 0;
+ if (old && (neu == 0))
{
printf ("Error, inexflag flag has been modified from %d to %d\n",
- old, new);
+ old, neu);
exit (1);
}
old = (counter & 32) != 0;
- new = mpfr_erangeflag_p () != 0;
- if (old && (new == 0))
+ neu = mpfr_erangeflag_p () != 0;
+ if (old && (neu == 0))
{
printf ("Error, erangeflag flag has been modified from %d to %d\n",
- old, new);
+ old, neu);
exit (1);
}
}