diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-08-18 17:03:17 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-08-18 17:03:17 +0000 |
commit | d8782b82c961338b15ef888f0bc152566644a964 (patch) | |
tree | 6972f3706c8251eb2b814fb636519519b73bb1f5 /tests/tconst_log2.c | |
parent | bab5aab404897a12fe1c87734ebf2aa270b9b73b (diff) | |
download | mpfr-d8782b82c961338b15ef888f0bc152566644a964.tar.gz |
Removed trailing spaces (better for future patches, as such spaces
are sometimes stripped).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3726 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tconst_log2.c')
-rw-r--r-- | tests/tconst_log2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tconst_log2.c b/tests/tconst_log2.c index 33b0d43e4..a593b9f12 100644 --- a/tests/tconst_log2.c +++ b/tests/tconst_log2.c @@ -47,7 +47,7 @@ check (mp_prec_t p0, mp_prec_t p1) rnd = (mp_rnd_t) RND_RAND (); mpfr_const_log2 (x, rnd); mpfr_set (y, z, rnd); - if ((dif = mpfr_cmp (x, y)) + if ((dif = mpfr_cmp (x, y)) && mpfr_can_round (z, mpfr_get_prec(z), GMP_RNDN, rnd, p0)) { @@ -80,11 +80,11 @@ check_large (void) exit (1); } - /* worst-case with 15 successive ones after last bit, + /* worst-case with 15 successive ones after last bit, to exercise can_round loop */ mpfr_set_prec (x, 26249); mpfr_const_log2 (x, GMP_RNDZ); - + mpfr_clears (x, y, NULL); } |