about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-04-08 22:46:49 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-04-08 22:46:49 +0000
commitd2de7579f257386ba5c28dfca94fa8aef143b4e0 (patch)
treef1d71152dd830b22595581625f2af15f47dd6b58
parentf77f12320635155da728a3c1adb75ff9914cf686 (diff)
downloadglibc-d2de7579f257386ba5c28dfca94fa8aef143b4e0.tar.gz
glibc-d2de7579f257386ba5c28dfca94fa8aef143b4e0.tar.xz
glibc-d2de7579f257386ba5c28dfca94fa8aef143b4e0.zip
Do not allow overflow exception on exp underflow test (bug 13705).
-rw-r--r--ChangeLog6
-rw-r--r--math/libm-test.inc3
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 85de3bd772..6154bb4da7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-04-08  Joseph Myers  <joseph@codesourcery.com>
+
+	[BZ #13705]
+	* math/libm-test.inc (exp_test): Do not allow overflow exception
+	on underflow test.
+
 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
 
 	[BZ #13705]
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 32bce45140..35d014b72f 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -3003,8 +3003,7 @@ exp_test (void)
 
   /* Bug 13922: OVERFLOW exception may be missing.  */
   TEST_f_f (exp, max_value, plus_infty, OVERFLOW_EXCEPTION_OK);
-  /* Bug 13705: spurious OVERFLOW exception may be present.  */
-  TEST_f_f (exp, -max_value, 0, OVERFLOW_EXCEPTION_OK);
+  TEST_f_f (exp, -max_value, 0);
 
   END (exp);
 }