summaryrefslogtreecommitdiff
path: root/sqrt.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2001-06-18 13:52:58 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2001-06-18 13:52:58 +0000
commit30462546626dd8452a0d2c356a55bd30e4f31fcb (patch)
tree8b7415ee4e988423fb274b87985c13e36214e42d /sqrt.c
parenta22d401bc7b4f9fb4c1025a91e67e9318a40b7e9 (diff)
downloadmpfr-30462546626dd8452a0d2c356a55bd30e4f31fcb.tar.gz
nested double TMP_DECL's
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1092 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'sqrt.c')
-rw-r--r--sqrt.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sqrt.c b/sqrt.c
index 19d0f14b1..affcf62e2 100644
--- a/sqrt.c
+++ b/sqrt.c
@@ -47,7 +47,9 @@ mpfr_sqrt (r, u, rnd_mode)
int exact = 0, t;
unsigned long cc = 0;
char can_round = 0;
- TMP_DECL (marker); TMP_DECL(marker0);
+ TMP_DECL(marker0);
+ {
+ TMP_DECL (marker);
if (MPFR_IS_NAN(u)) {
MPFR_SET_NAN(r);
@@ -256,6 +258,7 @@ mpfr_sqrt (r, u, rnd_mode)
(MPFR_PREC(r) & (BITS_PER_MP_LIMB - 1)))) - 1) ;
TMP_FREE (marker);
+ }
TMP_FREE(marker0);
return exact;
}