summaryrefslogtreecommitdiff
path: root/tests/tfma.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-06-29 12:14:55 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-06-29 12:14:55 +0000
commit4b0b50d814e7a2761592cb718614dc0920236fe4 (patch)
treea01b9e6e7d605f6aa01b623d736bb7b73c4f3261 /tests/tfma.c
parent5d940dfa41b2bf3e616102364bb73936d1d88cc1 (diff)
downloadmpfr-4b0b50d814e7a2761592cb718614dc0920236fe4.tar.gz
tfma.c: added more overflow tests (needed to distinguish the cases
where z/4 underflows or not -- see fma.c). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4585 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tfma.c')
-rw-r--r--tests/tfma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tfma.c b/tests/tfma.c
index c88d9d0b2..346cc527c 100644
--- a/tests/tfma.c
+++ b/tests/tfma.c
@@ -124,7 +124,7 @@ test_overflow2 (void)
mpfr_set_si (y, -2, GMP_RNDN); /* y = -2 */
/* The intermediate multiplication x * y will overflow. */
- for (i = -1; i <= 1; i++)
+ for (i = -9; i <= 9; i++)
RND_LOOP (rnd)
{
int inf, overflow;