summaryrefslogtreecommitdiff
path: root/tests/tfms.c
diff options
context:
space:
mode:
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;