summaryrefslogtreecommitdiff
path: root/tests/tcan_round.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2016-01-29 07:13:37 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2016-01-29 07:13:37 +0000
commit2054a1ac87dfb87484064f369f2ab6d7a5a6a868 (patch)
treeaf93151eccbce2e367d20e7edb431c0bf06697c9 /tests/tcan_round.c
parent5b8abe7f2486767c8e3d7d0a9f823fc97e003454 (diff)
downloadmpfr-2054a1ac87dfb87484064f369f2ab6d7a5a6a868.tar.gz
typo
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9889 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tcan_round.c')
-rw-r--r--tests/tcan_round.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcan_round.c b/tests/tcan_round.c
index aae03b769..0c9e7a4f5 100644
--- a/tests/tcan_round.c
+++ b/tests/tcan_round.c
@@ -86,7 +86,7 @@ test_pow2 (mpfr_exp_t i, mpfr_prec_t px, mpfr_rnd_t r1, mpfr_rnd_t r2,
MPFR_IS_LIKE_RNDU (r1, MPFR_SIGN_POS) ?
(MPFR_IS_LIKE_RNDD (r2, MPFR_SIGN_POS) ? 0 : prec < i) :
(r2 != MPFR_RNDN ? 0 : prec < i);
- /* We only require mpfr_can_round to return 1 only when we can really
+ /* We only require mpfr_can_round to return 1 when we can really
round, it is allowed to return 0 in some rare boundary cases,
for example when x = 2^k and the error is 0.25 ulp.
Note: if this changes in the future, the test could be improved by