summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>1999-10-07 08:10:06 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>1999-10-07 08:10:06 +0000
commit377f9f872314cf15517e0b2b84e32ee212c2e0eb (patch)
treefadfc922ea1fc0e9badeae7e1bc4c78007d00905 /log.c
parent6f8d2db2a563d9654526343f7a66a70875c1f9a1 (diff)
downloadmpfr-377f9f872314cf15517e0b2b84e32ee212c2e0eb.tar.gz
div3 -> div
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@374 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'log.c')
-rw-r--r--log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/log.c b/log.c
index 4e2508163..e23f12d10 100644
--- a/log.c
+++ b/log.c
@@ -111,11 +111,11 @@ mpfr_log()
mpfr_set_si(tmp1,1,GMP_RNDN); /* I have 1 */
mpfr_set_si(tmp2,4,GMP_RNDN); /* I have 4 */
mpfr_mul_2exp(s,a,m,GMP_RNDN); /* I compute s=a*2^m */
- mpfr_div3(rapport,tmp2,s,GMP_RNDN); /* I compute 4/s */
+ mpfr_div(rapport,tmp2,s,GMP_RNDN); /* I compute 4/s */
mpfr_agm(agm,tmp1,rapport,GMP_RNDN); /* I compute AG(1,4/s) */
mpfr_mul_2exp(tmp1,agm,1,GMP_RNDN); /* I compute 2*AG(1,4/s) */
mpfr_pi(cst, GMP_RNDN); /* I compute pi */
- mpfr_div3(tmp2,cst,tmp1,GMP_RNDN); /* I compute pi/2*AG(1,4/s) */
+ mpfr_div(tmp2,cst,tmp1,GMP_RNDN); /* I compute pi/2*AG(1,4/s) */
mpfr_log2(cst,GMP_RNDN); /* I compute log(2) */
mpfr_mul(tmp1,cst,mm,GMP_RNDN); /* I compute m*log(2) */
mpfr_sub(cst,tmp2,tmp1,GMP_RNDN); /* I compute log(a) */