summaryrefslogtreecommitdiff
path: root/tests/tcheck.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2005-08-18 16:35:19 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2005-08-18 16:35:19 +0000
commitbab5aab404897a12fe1c87734ebf2aa270b9b73b (patch)
tree73ab96f558e7e0b4ef371902ead983189184a0f7 /tests/tcheck.c
parent8328a51518450ad8ddb86e38e7952e28065ff22a (diff)
downloadmpfr-bab5aab404897a12fe1c87734ebf2aa270b9b73b.tar.gz
Converted tabs to spaces with expand.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3725 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tcheck.c')
-rw-r--r--tests/tcheck.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/tcheck.c b/tests/tcheck.c
index 18b3282eb..547943692 100644
--- a/tests/tcheck.c
+++ b/tests/tcheck.c
@@ -54,11 +54,11 @@ main (void)
mpfr_clear_overflow();
max = 1000; /* Allows max 2^1000 bits for the exponent */
while ((!mpfr_overflow_p()) && (max>0))
- {
- mpfr_mul(a, a, a, GMP_RNDN);
- if (!mpfr_check(a)) ERROR("for mul");
- max--;
- }
+ {
+ mpfr_mul(a, a, a, GMP_RNDN);
+ if (!mpfr_check(a)) ERROR("for mul");
+ max--;
+ }
if (max==0) ERROR("can't reach overflow");
mpfr_set_ui(a, 2137, GMP_RNDN);
/* Corrupt a and check for it */
@@ -96,10 +96,10 @@ main (void)
/* Check normal form */
tmp = MPFR_MANT(a)[0];
if ((pr % BITS_PER_MP_LIMB) != 0)
- {
- MPFR_MANT(a)[0] = ~0;
- if (mpfr_check(a)) ERROR("last bits non 0");
- }
+ {
+ MPFR_MANT(a)[0] = ~0;
+ if (mpfr_check(a)) ERROR("last bits non 0");
+ }
MPFR_MANT(a)[0] = tmp;
MPFR_MANT(a)[MPFR_LIMB_SIZE(a)-1] &= MPFR_LIMB_MASK (BITS_PER_MP_LIMB-1);
if (mpfr_check(a)) ERROR("last bits non 0");