summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2008-08-12 21:56:55 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2008-08-12 21:56:55 +0000
commit26c562199943aa157ec198d9a531a0353c7d8abf (patch)
tree932bf938a20a94c74a7652c6e206a9af0fad8939 /tests
parent25a5422e26ce8b2085dd2c3f107b9c0ad9c3b43c (diff)
downloadmpfr-26c562199943aa157ec198d9a531a0353c7d8abf.tar.gz
tests/tdiv.c correction: the underflow bug was in case when the
result had to be zero. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5516 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests')
-rw-r--r--tests/tdiv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tdiv.c b/tests/tdiv.c
index b9a92f448..a2b23e293 100644
--- a/tests/tdiv.c
+++ b/tests/tdiv.c
@@ -724,7 +724,7 @@ check_nan (void)
{
/* Test 2^(-2) / (2 + eps), with eps < 0, eps = 0, eps > 0.
-> underflow.
- With div.c r5513, this test fails for eps < 0 in GMP_RNDN. */
+ With div.c r5513, this test fails for eps > 0 in GMP_RNDN. */
mpfr_set_ui (d, 2, GMP_RNDZ);
if (i < 0)
mpfr_nextbelow (d);