summaryrefslogtreecommitdiff
path: root/asin.c
diff options
context:
space:
mode:
authorpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2005-05-17 14:09:10 +0000
committerpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2005-05-17 14:09:10 +0000
commitee01ac95c0311c1692a5438db3700bff2ffe60d0 (patch)
tree7157a5216e29e44d4fa5e5d71224fb9a1866d29a /asin.c
parent66db7d3c8e4d73611a607d66df96e4847c515ef4 (diff)
downloadmpfr-ee01ac95c0311c1692a5438db3700bff2ffe60d0.tar.gz
Remove useless test.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3574 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'asin.c')
-rw-r--r--asin.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/asin.c b/asin.c
index 443b41c55..ee3879d1d 100644
--- a/asin.c
+++ b/asin.c
@@ -93,12 +93,6 @@ mpfr_asin (mpfr_ptr asin, mpfr_srcptr x, mp_rnd_t rnd_mode)
/* Set up initial prec */
prec = MPFR_PREC (asin) + 10 + xp_exp;
- /* If x ~ 2^-N, asin(x) ~ x + x^3/6
- If Prec < 2*N, we can't round since x^3/6 won't be count. */
- if (MPFR_PREC (asin) >= MPFR_PREC (x)
- && prec <= -2*MPFR_GET_EXP (x) + 10)
- prec = -2*MPFR_GET_EXP (x) + 10;
-
/* use asin(x) = atan(x/sqrt(1-x^2)) */
MPFR_ZIV_INIT (loop, prec);
for (;;)