summaryrefslogtreecommitdiff
path: root/tests/reuse.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2010-09-28 15:08:34 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2010-09-28 15:08:34 +0000
commit4fc18617b46e5b89c51ce896b7fcc2e07bbc3f04 (patch)
tree01bd0a4688644d02afc863c7d56247fc4e6ff224 /tests/reuse.c
parentaa10e81afa3a3ab98721088673b46cbc9e334356 (diff)
downloadmpfr-4fc18617b46e5b89c51ce896b7fcc2e07bbc3f04.tar.gz
[src/sqrt.c] now uses mpn_rootrem (if available) instead of mpn_sqrtrem since
mpn_rootrem is faster. Also refactored the code: now compute one more limb of the square root when the target precision is a multiple of GMP_NUMB_LIMB. This greatly simplifies the code. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7178 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/reuse.c')
-rw-r--r--tests/reuse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/reuse.c b/tests/reuse.c
index 5b5bb4933..4c978d480 100644
--- a/tests/reuse.c
+++ b/tests/reuse.c
@@ -523,7 +523,7 @@ main (void)
mpfr_prec_t p;
tests_start_mpfr ();
- p = (randlimb () % 200)+ MPFR_PREC_MIN;
+ p = (randlimb () % 200) + MPFR_PREC_MIN;
RND_LOOP (rnd)
{
test2a (mpfr_round, "mpfr_round", p);