diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2002-02-14 11:36:40 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2002-02-14 11:36:40 +0000 |
commit | 5bd7aef7971df1929222d93b437d9392b935c1ff (patch) | |
tree | 1c45bd97c1c8108047ad7b8e9e0f80257fdad549 /agm.c | |
parent | c834099818b8b339bf59918257c2197e49a3ca1d (diff) | |
download | mpfr-5bd7aef7971df1929222d93b437d9392b935c1ff.tar.gz |
mpfr_{div,mul}_2exp -> mpfr_{div,mul}_2ui.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1699 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'agm.c')
-rw-r--r-- | agm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -182,7 +182,7 @@ mpfr_agm (mpfr_ptr r, mpfr_srcptr op2, mpfr_srcptr op1, mp_rnd_t rnd_mode) mpfr_mul(tmp, u, v, GMP_RNDN); mpfr_sqrt (tmpu, tmp, GMP_RNDN); mpfr_add(tmp, u, v, GMP_RNDN); - mpfr_div_2exp(tmpv, tmp, 1, GMP_RNDN); + mpfr_div_2ui(tmpv, tmp, 1, GMP_RNDN); mpfr_set(u, tmpu, GMP_RNDN); mpfr_set(v, tmpv, GMP_RNDN); } |