summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhanrot <hanrot@280ebfd0-de03-0410-8827-d642c229c3f4>2002-02-01 18:17:56 +0000
committerhanrot <hanrot@280ebfd0-de03-0410-8827-d642c229c3f4>2002-02-01 18:17:56 +0000
commitd2a8d03f413280358567c13baa9b2e1f6e3349bf (patch)
tree7e190775649e0fd10c04d513c077a3c1649b0e75
parentf7e39e3b8bd4b3abc1c9770fce5a176fbc2d2546 (diff)
downloadmpfr-d2a8d03f413280358567c13baa9b2e1f6e3349bf.tar.gz
Patch.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1677 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--pow_si.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pow_si.c b/pow_si.c
index 07cb58151..8646e1c13 100644
--- a/pow_si.c
+++ b/pow_si.c
@@ -133,7 +133,7 @@ mpfr_pow_si (mpfr_ptr y, mpfr_srcptr x, long int n, mp_rnd_t rnd_mode)
mpfr_set_prec(ti,Nt);
/* compute 1/(x^n) n>0*/
- mpfr_pow_ui(ti,y,(unsigned long int)(n),GMP_RNDN);
+ mpfr_pow_ui(ti,x,(unsigned long int)(n),GMP_RNDN);
mpfr_ui_div(t,1,ti,GMP_RNDN);
/* estimation of the error -- see pow function in algorithms.ps*/