diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/trec_sqrt.c | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/tests/trec_sqrt.c b/tests/trec_sqrt.c index 68bfbce13..a015464b5 100644 --- a/tests/trec_sqrt.c +++ b/tests/trec_sqrt.c @@ -130,53 +130,53 @@ bad_case2 (void) for (pr = MPFR_PREC_MIN; pr <= 192; pr++) for (pu = MPFR_PREC_MIN; pu <= 192; pu++) { - mpfr_init2 (r, pr); - mpfr_init2 (u, pu); + mpfr_init2 (r, pr); + mpfr_init2 (u, pu); - mpfr_set_ui (u, 1, MPFR_RNDN); - for (rnd = 0; rnd < MPFR_RND_MAX; rnd++) - mpfr_rec_sqrt (r, u, rnd); + mpfr_set_ui (u, 1, MPFR_RNDN); + for (rnd = 0; rnd < MPFR_RND_MAX; rnd++) + mpfr_rec_sqrt (r, u, rnd); - mpfr_nextbelow (u); - for (rnd = 0; rnd < MPFR_RND_MAX; rnd++) - mpfr_rec_sqrt (r, u, rnd); + mpfr_nextbelow (u); + for (rnd = 0; rnd < MPFR_RND_MAX; rnd++) + mpfr_rec_sqrt (r, u, rnd); - mpfr_nextbelow (u); - for (rnd = 0; rnd < MPFR_RND_MAX; rnd++) - mpfr_rec_sqrt (r, u, rnd); + mpfr_nextbelow (u); + for (rnd = 0; rnd < MPFR_RND_MAX; rnd++) + mpfr_rec_sqrt (r, u, rnd); - mpfr_set_ui (u, 1, MPFR_RNDN); - mpfr_nextabove (u); - for (rnd = 0; rnd < MPFR_RND_MAX; rnd++) - mpfr_rec_sqrt (r, u, rnd); + mpfr_set_ui (u, 1, MPFR_RNDN); + mpfr_nextabove (u); + for (rnd = 0; rnd < MPFR_RND_MAX; rnd++) + mpfr_rec_sqrt (r, u, rnd); - mpfr_nextabove (u); - for (rnd = 0; rnd < MPFR_RND_MAX; rnd++) - mpfr_rec_sqrt (r, u, rnd); + mpfr_nextabove (u); + for (rnd = 0; rnd < MPFR_RND_MAX; rnd++) + mpfr_rec_sqrt (r, u, rnd); - mpfr_set_ui (u, 2, MPFR_RNDN); - for (rnd = 0; rnd < MPFR_RND_MAX; rnd++) - mpfr_rec_sqrt (r, u, rnd); + mpfr_set_ui (u, 2, MPFR_RNDN); + for (rnd = 0; rnd < MPFR_RND_MAX; rnd++) + mpfr_rec_sqrt (r, u, rnd); - mpfr_nextbelow (u); - for (rnd = 0; rnd < MPFR_RND_MAX; rnd++) - mpfr_rec_sqrt (r, u, rnd); + mpfr_nextbelow (u); + for (rnd = 0; rnd < MPFR_RND_MAX; rnd++) + mpfr_rec_sqrt (r, u, rnd); - mpfr_nextbelow (u); - for (rnd = 0; rnd < MPFR_RND_MAX; rnd++) - mpfr_rec_sqrt (r, u, rnd); + mpfr_nextbelow (u); + for (rnd = 0; rnd < MPFR_RND_MAX; rnd++) + mpfr_rec_sqrt (r, u, rnd); - mpfr_set_ui (u, 2, MPFR_RNDN); - mpfr_nextabove (u); - for (rnd = 0; rnd < MPFR_RND_MAX; rnd++) - mpfr_rec_sqrt (r, u, rnd); + mpfr_set_ui (u, 2, MPFR_RNDN); + mpfr_nextabove (u); + for (rnd = 0; rnd < MPFR_RND_MAX; rnd++) + mpfr_rec_sqrt (r, u, rnd); - mpfr_nextabove (u); - for (rnd = 0; rnd < MPFR_RND_MAX; rnd++) - mpfr_rec_sqrt (r, u, rnd); + mpfr_nextabove (u); + for (rnd = 0; rnd < MPFR_RND_MAX; rnd++) + mpfr_rec_sqrt (r, u, rnd); - mpfr_clear (r); - mpfr_clear (u); + mpfr_clear (r); + mpfr_clear (u); } } |