diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-08-18 16:35:19 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-08-18 16:35:19 +0000 |
commit | bab5aab404897a12fe1c87734ebf2aa270b9b73b (patch) | |
tree | 73ab96f558e7e0b4ef371902ead983189184a0f7 /tests/tset_sj.c | |
parent | 8328a51518450ad8ddb86e38e7952e28065ff22a (diff) | |
download | mpfr-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/tset_sj.c')
-rw-r--r-- | tests/tset_sj.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/tset_sj.c b/tests/tset_sj.c index 2f154f9fb..621441704 100644 --- a/tests/tset_sj.c +++ b/tests/tset_sj.c @@ -71,27 +71,27 @@ check_set_uj (mp_prec_t pmin, mp_prec_t pmax, int N) mpfr_set_prec (x, p); mpfr_set_prec (y, p); for (n = 0 ; n < N ; n++) - { - /* mp_limb_t may be unsigned long long */ - limb = (unsigned long) randlimb (); - inex1 = mpfr_set_uj (x, limb, GMP_RNDN); - inex2 = mpfr_set_ui (y, limb, GMP_RNDN); - if (mpfr_cmp (x, y)) - { - printf ("ERROR for mpfr_set_uj and j=%lu and p=%lu\n", - (unsigned long) limb, p); - printf ("X="); mpfr_dump (x); - printf ("Y="); mpfr_dump (y); - exit (1); - } - if (inexact_sign (inex1) != inexact_sign (inex2)) - { - printf ("ERROR for inexact(set_uj): j=%lu p=%lu\n" - "Inexact1= %d Inexact2= %d\n", - (unsigned long) limb, p, inex1, inex2); + { + /* mp_limb_t may be unsigned long long */ + limb = (unsigned long) randlimb (); + inex1 = mpfr_set_uj (x, limb, GMP_RNDN); + inex2 = mpfr_set_ui (y, limb, GMP_RNDN); + if (mpfr_cmp (x, y)) + { + printf ("ERROR for mpfr_set_uj and j=%lu and p=%lu\n", + (unsigned long) limb, p); + printf ("X="); mpfr_dump (x); + printf ("Y="); mpfr_dump (y); exit (1); - } - } + } + if (inexact_sign (inex1) != inexact_sign (inex2)) + { + printf ("ERROR for inexact(set_uj): j=%lu p=%lu\n" + "Inexact1= %d Inexact2= %d\n", + (unsigned long) limb, p, inex1, inex2); + exit (1); + } + } } /* Special case */ mpfr_set_prec (x, sizeof(uintmax_t)*CHAR_BIT); |