From e9600c76effe33fded3f356518c276e8dc9d460d Mon Sep 17 00:00:00 2001 From: zimmerma Date: Thu, 24 Jun 1999 10:12:43 +0000 Subject: removed 3rd argument of mpfr_set_prec git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@154 280ebfd0-de03-0410-8827-d642c229c3f4 --- sqrt.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sqrt.c') diff --git a/sqrt.c b/sqrt.c index cde629432..3787a7889 100644 --- a/sqrt.c +++ b/sqrt.c @@ -45,9 +45,7 @@ void mpfr_sqrt(mpfr_ptr X, mpfr_srcptr a, unsigned char rnd_mode) #ifdef DEBUG printf("prec=%d q=%d err=%d\n",p,q,err); #endif - mpfr_set_prec(t, q, GMP_RNDU); - mpfr_set_prec(x, q, GMP_RNDU); - mpfr_set_prec(u, q, GMP_RNDU); + mpfr_set_prec(t, q); mpfr_set_prec(x, q); mpfr_set_prec(u, q); mpfr_set_ui(x, 1, GMP_RNDU); EXP(x) += e; n = (int) ceil(log((double) q)/log(2.0)); -- cgit v1.2.1