diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2009-09-02 23:02:29 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2009-09-02 23:02:29 +0000 |
commit | 1ed0fc30e56b1cdc56689802c4a0b15d7a1a63fa (patch) | |
tree | 478964478defbf08f1e4a583936e54e0f4cabbeb /pow.c | |
parent | 12934c67bc9f184b0f2cf60173405c488586a7eb (diff) | |
download | mpfr-1ed0fc30e56b1cdc56689802c4a0b15d7a1a63fa.tar.gz |
towards -> toward (consistency).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6407 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'pow.c')
-rw-r--r-- | pow.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -518,9 +518,9 @@ mpfr_pow (mpfr_ptr z, mpfr_srcptr x, mpfr_srcptr y, mpfr_rnd_t rnd_mode) MPFR_SAVE_EXPO_MARK (expo); mpfr_init2 (t, 53); /* we want a lower bound on y*log2|x|: - (i) if x > 0, it suffices to round log2(x) towards zero, and - to round y*o(log2(x)) towards zero too; - (ii) if x < 0, we first compute t = o(-x), with rounding towards 1, + (i) if x > 0, it suffices to round log2(x) toward zero, and + to round y*o(log2(x)) toward zero too; + (ii) if x < 0, we first compute t = o(-x), with rounding toward 1, and then follow as in case (1). */ if (MPFR_SIGN (x) > 0) mpfr_log2 (t, x, MPFR_RNDZ); |