diff options
author | hanrot <hanrot@280ebfd0-de03-0410-8827-d642c229c3f4> | 2002-02-01 18:17:56 +0000 |
---|---|---|
committer | hanrot <hanrot@280ebfd0-de03-0410-8827-d642c229c3f4> | 2002-02-01 18:17:56 +0000 |
commit | d2a8d03f413280358567c13baa9b2e1f6e3349bf (patch) | |
tree | 7e190775649e0fd10c04d513c077a3c1649b0e75 | |
parent | f7e39e3b8bd4b3abc1c9770fce5a176fbc2d2546 (diff) | |
download | mpfr-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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*/ |