summaryrefslogtreecommitdiff
path: root/acos.c
diff options
context:
space:
mode:
authorpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2005-01-14 08:20:35 +0000
committerpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2005-01-14 08:20:35 +0000
commit25672f4dd62d26165be1ab48a4b41acb75c3189e (patch)
treef3281df2ccdf89f7056e102c3ddbd3c8b623ac67 /acos.c
parente4f158ca61fad9de7657f54ff52622830e66eac1 (diff)
downloadmpfr-25672f4dd62d26165be1ab48a4b41acb75c3189e.tar.gz
Fix bug (Forget a debug line).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3185 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'acos.c')
-rw-r--r--acos.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/acos.c b/acos.c
index d34b77020..d163bd146 100644
--- a/acos.c
+++ b/acos.c
@@ -93,7 +93,6 @@ mpfr_acos (mpfr_ptr acos, mpfr_srcptr x, mp_rnd_t rnd_mode)
mpfr_init2 (tmp, prec);
mpfr_init2 (arcc, prec);
- int count = 1;
for (;;)
{
/* acos(x) = Pi/2 - asin(x) = Pi/2 - atan(x/sqrt(1-x^2)) */
@@ -112,13 +111,7 @@ mpfr_acos (mpfr_ptr acos, mpfr_srcptr x, mp_rnd_t rnd_mode)
prec += BITS_PER_MP_LIMB;
mpfr_set_prec (tmp, prec);
mpfr_set_prec (arcc, prec);
- count ++;
}
- /* static double xx = 0;
- double d = mpfr_get_d1 (x);
- if (d != xx)
- printf ("C%d(%lu) ", count, prec), mpfr_dump (x);
- xx = d; */
inexact = mpfr_set (acos, arcc, rnd_mode);
mpfr_clear (tmp);