summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2001-01-11 16:38:40 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2001-01-11 16:38:40 +0000
commitc21f5d54b2c40d40b470da10152d7c3ccbeb2b03 (patch)
tree928c08056a333e8ec038ebf8f956e7e4d9bf4979 /log.c
parent2a4785f01b6db30a977081f3d1c70726c4febf7d (diff)
downloadmpfr-c21f5d54b2c40d40b470da10152d7c3ccbeb2b03.tar.gz
removed superfluous TMP_FREE(marker)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@967 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'log.c')
-rw-r--r--log.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/log.c b/log.c
index 523d19870..726a7bd5b 100644
--- a/log.c
+++ b/log.c
@@ -148,8 +148,8 @@ mpfr_log (r, a, rnd_mode)
/* we have 7 ulps of error from the above roundings,
4 ulps from the 4/s^2 second order term,
plus the cancelled bits */
- if (mpfr_can_round(cst,p-cancel-4,GMP_RNDN,rnd_mode,q)==1) {
- mpfr_set(r,cst,rnd_mode);
+ if (mpfr_can_round (cst, p - cancel - 4, GMP_RNDN, rnd_mode, q) == 1) {
+ mpfr_set (r, cst, rnd_mode);
#ifdef DEBUG
printf("result="); mpfr_print_raw(r); putchar('\n');
#endif
@@ -157,8 +157,7 @@ mpfr_log (r, a, rnd_mode)
}
/* else we increase the precision */
else {
- p += BITS_PER_MP_LIMB+cancel;
- TMP_FREE(marker);
+ p += BITS_PER_MP_LIMB + cancel;
}
/* We clean */