summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Enge <andreas.enge@inria.fr>2012-06-29 17:15:10 +0000
committerAndreas Enge <andreas.enge@inria.fr>2012-06-29 17:15:10 +0000
commit6b3c5193a487e2575ebe17472cffc8f32df2eb41 (patch)
treec3418b7f830c51fb3fdbed6aa9d0368a0ca08615
parente986168cbb25ecc116c0cad3d4af0eb4a668f4f8 (diff)
downloadmpc-git-6b3c5193a487e2575ebe17472cffc8f32df2eb41.tar.gz
read_data.c: english confuses the c++ compiler, speak german instead
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/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);
}
}