diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-01-14 08:20:35 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-01-14 08:20:35 +0000 |
commit | 25672f4dd62d26165be1ab48a4b41acb75c3189e (patch) | |
tree | f3281df2ccdf89f7056e102c3ddbd3c8b623ac67 /acos.c | |
parent | e4f158ca61fad9de7657f54ff52622830e66eac1 (diff) | |
download | mpfr-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.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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); |