summaryrefslogtreecommitdiff
path: root/tests/tfms.c
diff options
context:
space:
mode:
authorthevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4>2008-02-20 10:33:33 +0000
committerthevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4>2008-02-20 10:33:33 +0000
commit9bf6051da6b920245496a9f995bf7915101bf2f2 (patch)
tree967bf884fb104a09b5acf6b0537827f8254e07ec /tests/tfms.c
parent48cd80dafd7c49d5c65aa4c174bd53b87800658d (diff)
downloadmpfr-9bf6051da6b920245496a9f995bf7915101bf2f2.tar.gz
actually trigger overflow on all architectures
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5304 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tfms.c')
-rw-r--r--tests/tfms.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tfms.c b/tests/tfms.c
index 631143fd9..5dc82d671 100644
--- a/tests/tfms.c
+++ b/tests/tfms.c
@@ -340,6 +340,7 @@ int
main (int argc, char *argv[])
{
mpfr_t x, y, z, s;
+ MPFR_SAVE_EXPO_DECL (expo);
tests_start_mpfr ();
@@ -628,10 +629,13 @@ main (int argc, char *argv[])
mpfr_clear (s);
test_exact ();
+
+ MPFR_SAVE_EXPO_MARK (expo);
test_overflow1 ();
test_overflow2 ();
test_underflow1 ();
test_underflow2 ();
+ MPFR_SAVE_EXPO_FREE (expo);
tests_end_mpfr ();
return 0;