summaryrefslogtreecommitdiff
path: root/const_pi.c
diff options
context:
space:
mode:
authorpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2003-11-21 16:26:19 +0000
committerpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2003-11-21 16:26:19 +0000
commit83c4428fadeab214993b680317a727cb1e2a50a1 (patch)
tree879c0082a45679d0e54946f5449d7762b58b38c3 /const_pi.c
parent41d7b44241b63a451c3e664bdd9a640a4c255291 (diff)
downloadmpfr-83c4428fadeab214993b680317a727cb1e2a50a1.tar.gz
Remove some warnings and potential errors (Comparaison between signed and unsigned).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2563 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'const_pi.c')
-rw-r--r--const_pi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/const_pi.c b/const_pi.c
index 610b372db..e77f088dd 100644
--- a/const_pi.c
+++ b/const_pi.c
@@ -157,7 +157,8 @@ static mp_rnd_t __mpfr_const_pi_rnd; /* rounding mode of stored value */
int
mpfr_const_pi (mpfr_ptr x, mp_rnd_t rnd_mode)
{
- int N, oldN, n, prec;
+ int N, oldN, n;
+ mpfr_prec_t prec;
mpz_t pi, num, den, d3, d2, tmp;
mpfr_t y;
int inex;