diff options
author | thevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4> | 2008-02-20 10:33:33 +0000 |
---|---|---|
committer | thevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4> | 2008-02-20 10:33:33 +0000 |
commit | 9bf6051da6b920245496a9f995bf7915101bf2f2 (patch) | |
tree | 967bf884fb104a09b5acf6b0537827f8254e07ec /tests/tfma.c | |
parent | 48cd80dafd7c49d5c65aa4c174bd53b87800658d (diff) | |
download | mpfr-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/tfma.c')
-rw-r--r-- | tests/tfma.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tfma.c b/tests/tfma.c index 9df041405..8933902ab 100644 --- a/tests/tfma.c +++ b/tests/tfma.c @@ -339,6 +339,7 @@ int main (int argc, char *argv[]) { mpfr_t x, y, z, s; + MPFR_SAVE_EXPO_DECL (expo); tests_start_mpfr (); @@ -625,10 +626,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; |