From 192543932ca7ce494da0f1956475996bdd09e107 Mon Sep 17 00:00:00 2001 From: pelissip Date: Thu, 6 May 2004 12:37:21 +0000 Subject: Fix overflow and add corresponding tests. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2908 280ebfd0-de03-0410-8827-d642c229c3f4 --- tests/ttanh.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests/ttanh.c') diff --git a/tests/ttanh.c b/tests/ttanh.c index f8bed846f..c99c8331c 100644 --- a/tests/ttanh.c +++ b/tests/ttanh.c @@ -62,10 +62,8 @@ special_overflow (void) mpfr_set_emin (-125); mpfr_set_emax (128); - mpfr_init2 (x, 24); mpfr_init2 (y, 24); - mpfr_set_str_binary (x, "0.101100100000000000110100E7"); mpfr_tanh (y, x, GMP_RNDN); if (mpfr_cmp_ui (y, 1)) @@ -74,7 +72,6 @@ special_overflow (void) mpfr_dump (y); exit (1); } - mpfr_clear (y); mpfr_clear (x); mpfr_set_emin (MPFR_EMIN_MIN); -- cgit v1.2.1