This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.15-1062-gd81dcb3
- From: mpolacek at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 26 May 2012 11:51:15 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-1062-gd81dcb3
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via d81dcb356909937b0c8e9c69ff0be27f51aaa07a (commit)
from 9c6ea9facbba4d430807bd21fa82892d713b1ecd (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=d81dcb356909937b0c8e9c69ff0be27f51aaa07a
commit d81dcb356909937b0c8e9c69ff0be27f51aaa07a
Author: Marek Polacek <polacek@redhat.com>
Date: Sat May 26 13:49:49 2012 +0200
Fix fma test for underflow.
diff --git a/ChangeLog b/ChangeLog
index 7ee459b..a4ae965 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-05-25 Marek Polacek <polacek@redhat.com>
+
+ [BZ #14152]
+ * math/libm-test.inc (fma_test): Don't always expect underflow
+ exception.
+
2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
[BZ #12416]
diff --git a/math/libm-test.inc b/math/libm-test.inc
index ed13f53..bb19dee 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -3970,7 +3970,8 @@ fma_test (void)
TEST_fff_f (fma, 0x1.4000004p-967, 0x1p-106, 0x0.000001p-1022, 0x0.0000010000003p-1022, UNDERFLOW_EXCEPTION);
TEST_fff_f (fma, 0x1.4p-967, -0x1p-106, -0x0.000001p-1022, -0x0.0000010000002p-1022, UNDERFLOW_EXCEPTION);
TEST_fff_f (fma, -0x1.19cab66d73e17p-959, 0x1.c7108a8c5ff51p-107, -0x0.80b0ad65d9b64p-1022, -0x0.80b0ad65d9d59p-1022, UNDERFLOW_EXCEPTION);
- TEST_fff_f (fma, -0x1.d2eaed6e8e9d3p-979, -0x1.4e066c62ac9ddp-63, -0x0.9245e6b003454p-1022, -0x0.9245c09c5fb5dp-1022, UNDERFLOW_EXCEPTION);
+ /* Sometimes the FE_UNDERFLOW is not set, so be prepared. See Bug 14152. */
+ TEST_fff_f (fma, -0x1.d2eaed6e8e9d3p-979, -0x1.4e066c62ac9ddp-63, -0x0.9245e6b003454p-1022, -0x0.9245c09c5fb5dp-1022, UNDERFLOW_EXCEPTION_OK);
TEST_fff_f (fma, 0x1.153d650bb9f06p-907, 0x1.2d01230d48407p-125, -0x0.b278d5acfc3cp-1022, -0x0.b22757123bbe9p-1022, UNDERFLOW_EXCEPTION);
TEST_fff_f (fma, -0x1.fffffffffffffp-711, 0x1.fffffffffffffp-275, 0x1.fffffe00007ffp-983, 0x1.7ffffe00007ffp-983);
#endif
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
math/libm-test.inc | 3 ++-
2 files changed, 8 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources