summaryrefslogtreecommitdiff
path: root/get_str.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>1999-06-24 10:12:43 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>1999-06-24 10:12:43 +0000
commite9600c76effe33fded3f356518c276e8dc9d460d (patch)
treea58092608c16fe12fdf209ff1c1f5ecd55316fc7 /get_str.c
parent6eaf512b75085c6f6201b959bc613a3ac3784052 (diff)
downloadmpfr-e9600c76effe33fded3f356518c276e8dc9d460d.tar.gz
removed 3rd argument of mpfr_set_prec
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@154 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'get_str.c')
-rw-r--r--get_str.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/get_str.c b/get_str.c
index e358893f7..1898aac2a 100644
--- a/get_str.c
+++ b/get_str.c
@@ -80,10 +80,10 @@ char *mpfr_get_str(char *str, mp_exp_t *expptr, int base, size_t n,
}
else {
/* compute base^p with q bits and rounding towards zero */
- mpfr_set_prec(b, q, rnd_mode);
+ mpfr_set_prec(b, q);
if (p==0) mpfr_set(b, op, rnd_mode);
else {
- mpfr_set_prec(a, q, rnd1);
+ mpfr_set_prec(a, q);
mpfr_ui_pow_ui(a, base, p, rnd1);
/* now a is an approximation by default of base^p */
if (neg) mpfr_div(b, op, a, rnd_mode);