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 /const_log2.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 'const_log2.c')
-rw-r--r-- | const_log2.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/const_log2.c b/const_log2.c index 774eb072c..e5d368684 100644 --- a/const_log2.c +++ b/const_log2.c @@ -75,19 +75,19 @@ mpfr_const_aux_log2 (mpfr_ptr mylog, mp_rnd_t rnd_mode) mpfr_init2(tmp3, prec_x); mpz_set_ui(cst, 1); mpfr_aux_log2(tmp1, cst, 4, prec-2); - mpfr_div_2exp(tmp1, tmp1, 4,GMP_RNDD); - mpfr_mul_ui(tmp1, tmp1, 15,GMP_RNDD); + mpfr_div_2ui(tmp1, tmp1, 4, GMP_RNDD); + mpfr_mul_ui(tmp1, tmp1, 15, GMP_RNDD); mpz_set_ui(cst, 3); mpfr_aux_log2(tmp2, cst, 7, prec-2); - mpfr_div_2exp(tmp2, tmp2, 7,GMP_RNDD); - mpfr_mul_ui(tmp2, tmp2, 5*3,GMP_RNDD); + mpfr_div_2ui(tmp2, tmp2, 7, GMP_RNDD); + mpfr_mul_ui(tmp2, tmp2, 5*3, GMP_RNDD); mpfr_sub(result, tmp1, tmp2, GMP_RNDD); mpz_set_ui(cst, 13); mpfr_aux_log2(tmp3, cst, 8, prec-2); - mpfr_div_2exp(tmp3, tmp3, 8,GMP_RNDD); - mpfr_mul_ui(tmp3, tmp3, 3*13,GMP_RNDD); + mpfr_div_2ui(tmp3, tmp3, 8, GMP_RNDD); + mpfr_mul_ui(tmp3, tmp3, 3*13, GMP_RNDD); mpfr_sub(result, result, tmp3, GMP_RNDD); mpfr_clear(tmp1); |