summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2005-09-06 12:25:03 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2005-09-06 12:25:03 +0000
commitc90525c90fd0e8f56c251119f32b5b9df87136f1 (patch)
treeb35e63c04deee1c26050c5b9f8aac43d683590ae /tests
parentc8b8bbc6ab222b29f48bf1316162f1df5e2fabd7 (diff)
downloadmpfr-c90525c90fd0e8f56c251119f32b5b9df87136f1.tar.gz
added missing call to MPFR_TEST_USE_RANDS() [3 blocks non-freed]
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3786 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests')
-rw-r--r--tests/tgamma.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tgamma.c b/tests/tgamma.c
index 74ead49a4..3086c2fb3 100644
--- a/tests/tgamma.c
+++ b/tests/tgamma.c
@@ -189,7 +189,6 @@ special_overflow (void)
{
mpfr_t x, y;
mp_exp_t emin = mpfr_get_emin ();
- mp_exp_t emax = mpfr_get_emax ();
set_emin (-125);
set_emax (128);
@@ -249,6 +248,7 @@ special_overflow (void)
/* another tests from Kenneth Wilder, 31 Aug 2005 */
set_emax (200);
+ set_emin (-200);
mpfr_set_prec (x, 38);
mpfr_set_prec (y, 54);
mpfr_set_str_binary (x, "0.11101111011100111101001001010110101001E-166");
@@ -363,6 +363,7 @@ special_overflow (void)
int
main (void)
{
+ MPFR_TEST_USE_RANDS ();
tests_start_mpfr ();
special ();