diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 1999-06-24 10:12:43 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 1999-06-24 10:12:43 +0000 |
commit | e9600c76effe33fded3f356518c276e8dc9d460d (patch) | |
tree | a58092608c16fe12fdf209ff1c1f5ecd55316fc7 /get_str.c | |
parent | 6eaf512b75085c6f6201b959bc613a3ac3784052 (diff) | |
download | mpfr-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |