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-1038-g7a25eb0
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 24 May 2012 15:37:06 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-1038-g7a25eb0
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 7a25eb06bfa838900bef78b975c38aa7e012b587 (commit)
from edb00e4d736c6d9b52e21a9557e71823e5a8df22 (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=7a25eb06bfa838900bef78b975c38aa7e012b587
commit 7a25eb06bfa838900bef78b975c38aa7e012b587
Author: Joseph Myers <joseph@codesourcery.com>
Date: Thu May 24 15:36:54 2012 +0000
Add tests for underflow exception bugs 10846, 14036.
diff --git a/ChangeLog b/ChangeLog
index 626078a..d8724ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2012-05-24 Joseph Myers <joseph@codesourcery.com>
+ [BZ #10846]
+ [BZ #14036]
+ * math/libm-test.inc (exp_test): Add test from bug 14036.
+ (pow_test): Add test from bug 10846.
+
* math/gen-libm-test.pl (%beautify): Remove entries for exceptions
and other flags.
(special_function): Do not include flags in test name.
diff --git a/NEWS b/NEWS
index 586f40f..7ccfb90 100644
--- a/NEWS
+++ b/NEWS
@@ -13,8 +13,8 @@ Version 2.16
2551, 2552, 2553, 2554, 2562, 2563, 2565, 2566, 2570, 2576, 2636, 2678,
3335, 3440, 3748, 3768, 3866, 3868, 3906, 3976, 3992, 4026, 4108, 4596,
4822, 5077, 5461, 5805, 5993, 6471, 6486, 6578, 6649, 6730, 6770, 6794,
- 6884, 6890, 6894, 6895, 6907, 6911, 6959, 7064, 9739, 9902, 10110,
- 10135, 10140, 10153, 10210, 10254, 10346, 10375 10545, 10716, 11174,
+ 6884, 6890, 6894, 6895, 6907, 6911, 6959, 7064, 9739, 9902, 10110, 10135,
+ 10140, 10153, 10210, 10254, 10346, 10375 10545, 10716, 10846, 11174,
11322, 11365, 11451, 11494, 11521, 11677, 11837, 11959, 12047, 12097,
12193, 12297, 12298, 12301, 12340, 12354, 13058, 13361, 13525, 13526,
13527, 13528, 13529, 13530, 13531, 13532, 13533, 13547, 13551, 13552,
@@ -26,9 +26,9 @@ Version 2.16
13908, 13910, 13911, 13912, 13913, 13914, 13915, 13916, 13917, 13918,
13919, 13920, 13921, 13922, 13923, 13924, 13926, 13927, 13928, 13938,
13941, 13942, 13954, 13955, 13956, 13963, 13967, 13968, 13970, 13973,
- 13979, 13983, 13986, 14012, 14027, 14033, 14034, 14040, 14043, 14044,
- 14049, 14053, 14055, 14059, 14064, 14080, 14083, 14103, 14104, 14109,
- 14122, 14123
+ 13979, 13983, 13986, 14012, 14027, 14033, 14034, 14036, 14040, 14043,
+ 14044, 14049, 14053, 14055, 14059, 14064, 14080, 14083, 14103, 14104,
+ 14109, 14122, 14123
* ISO C11 support:
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 5424866..5946ca8 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -3501,6 +3501,7 @@ exp_test (void)
#if !(defined TEST_LDOUBLE && LDBL_MAX_EXP > 1024)
TEST_f_f (exp, 710, plus_infty, OVERFLOW_EXCEPTION);
+ TEST_f_f (exp, -1234, plus_zero, UNDERFLOW_EXCEPTION);
#endif
TEST_f_f (exp, 1e5, plus_infty, OVERFLOW_EXCEPTION);
TEST_f_f (exp, max_value, plus_infty, OVERFLOW_EXCEPTION);
@@ -6732,6 +6733,8 @@ pow_test (void)
TEST_ff_f (pow, 0x1.0000000000001p0L, -0x1.23456789abcdfp61L, 1.0118762747828234466621210689458255908670e-253L);
#endif
+ TEST_ff_f (pow, 2.0L, -100000.0L, plus_zero, UNDERFLOW_EXCEPTION);
+
END (pow);
}
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
NEWS | 10 +++++-----
math/libm-test.inc | 3 +++
3 files changed, 13 insertions(+), 5 deletions(-)
hooks/post-receive
--
GNU C Library master sources