summaryrefslogtreecommitdiff
path: root/pow.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-10-31 15:46:57 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-10-31 15:46:57 +0000
commit372150de4abc28b77975ac54eb2a67cb343a45dc (patch)
tree6c069b6269cefd69dc6594a1d360ab761ef9c10d /pow.c
parent5c06717a432d9017d47ed8a48cd56ebd9a1eb396 (diff)
downloadmpfr-372150de4abc28b77975ac54eb2a67cb343a45dc.tar.gz
Untabified and removed trailing spaces.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4933 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'pow.c')
-rw-r--r--pow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pow.c b/pow.c
index c5f03065a..6d68f5d56 100644
--- a/pow.c
+++ b/pow.c
@@ -295,7 +295,7 @@ mpfr_pow (mpfr_ptr z, mpfr_srcptr x, mpfr_srcptr y, mp_rnd_t rnd_mode)
/* now we have:
(1) either x > 0
- (2) or x < 0 and y is an integer
+ (2) or x < 0 and y is an integer
and in addition |x| <> 1.
*/
@@ -378,7 +378,7 @@ mpfr_pow (mpfr_ptr z, mpfr_srcptr x, mpfr_srcptr y, mp_rnd_t rnd_mode)
return inexact;
}
- /* Special case (+/-2^b)^Y which could be exact. If x is negative, then
+ /* Special case (+/-2^b)^Y which could be exact. If x is negative, then
necessarily y is a large integer. */
if (mpfr_cmp_si_2exp (x, MPFR_SIGN(x), MPFR_GET_EXP (x) - 1) == 0)
{
@@ -386,7 +386,7 @@ mpfr_pow (mpfr_ptr z, mpfr_srcptr x, mpfr_srcptr y, mp_rnd_t rnd_mode)
mp_exp_t b;
int sgnx = MPFR_SIGN(x);
- /* now x = +/-2^b, so x^y = (+/-)^y*2^(b*y) is exact whenever b*y is
+ /* now x = +/-2^b, so x^y = (+/-)^y*2^(b*y) is exact whenever b*y is
an integer */
b = MPFR_GET_EXP (x) - 1; /* x = +/-2^b */
mpfr_init2 (tmp, MPFR_PREC (y) + BITS_PER_MP_LIMB);