summaryrefslogtreecommitdiff
path: root/src/rec_sqrt.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2010-12-17 15:54:55 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2010-12-17 15:54:55 +0000
commit7f79b6f187175d1ab751ff1e6748d5e6bdd13204 (patch)
tree1a01de60639e187a7c2188cce1c283838f67411a /src/rec_sqrt.c
parentc78ad943fd6e25e2ac2f3ef6178192d5946cfea3 (diff)
downloadmpfr-7f79b6f187175d1ab751ff1e6748d5e6bdd13204.tar.gz
[rec_sqrt.c] put back some information lost in commit 7302
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7305 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/rec_sqrt.c')
-rw-r--r--src/rec_sqrt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rec_sqrt.c b/src/rec_sqrt.c
index 963b18288..d994dd7fe 100644
--- a/src/rec_sqrt.c
+++ b/src/rec_sqrt.c
@@ -492,7 +492,7 @@ mpfr_rec_sqrt (mpfr_ptr r, mpfr_srcptr u, mpfr_rnd_t rnd_mode)
{
MPFR_TMP_MARK (marker);
wn = LIMB_SIZE(wp);
- if (r == u || wn > rn)
+ if (r == u || wn > rn) /* out of place, i.e., we cannot use r */
x = MPFR_TMP_LIMBS_ALLOC (wn);
else
x = MPFR_MANT(r);