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.16-ports-merge-759-gc9c0279
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 22 Nov 2012 14:56:28 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.16-ports-merge-759-gc9c0279
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 c9c0279bcb2bd0871e9a4affbab3244389de1353 (commit)
from 7c7feb4772742b43d3f70168c5598f01801936d7 (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=c9c0279bcb2bd0871e9a4affbab3244389de1353
commit c9c0279bcb2bd0871e9a4affbab3244389de1353
Author: Joseph Myers <joseph@codesourcery.com>
Date: Thu Nov 22 14:56:14 2012 +0000
Mark some clog / clog10 underflows as expected for IBM long double.
diff --git a/ChangeLog b/ChangeLog
index c167d9a..c2421fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2012-11-22 Joseph Myers <joseph@codesourcery.com>
+ * math/libm-test.inc (clog_test): Use
+ UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
+ (clog10_test): Likewise.
+
[BZ #6778]
* sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 2a60557..74ef15b 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -2518,12 +2518,12 @@ clog_test (void)
#endif
#if defined TEST_LDOUBLE && LDBL_MANT_DIG >= 106
TEST_c_c (clog, 0x1.00000000000000123456789abcp0L, 0x1.23456789p-60L, 9.868649107778739757272772275265050767867e-19L, 9.868649106423871142816660980898339912137e-19L);
- TEST_c_c (clog, 0x1.00000000000000123456789abcp0L, 0x1.23456789p-1000L, 9.868649107778739752403260515979017248596e-19L, 1.061846605795612822522063052130030717368e-301L);
+ TEST_c_c (clog, 0x1.00000000000000123456789abcp0L, 0x1.23456789p-1000L, 9.868649107778739752403260515979017248596e-19L, 1.061846605795612822522063052130030717368e-301L, UNDERFLOW_EXCEPTION_LDOUBLE_IBM);
#endif
TEST_c_c (clog, 0x0.ffffffp0L, 0x0.ffffffp-100L, -5.960464655174753498633255797994360530379e-8L, 7.888609052210118054117285652827862296732e-31L);
#ifndef TEST_FLOAT
- TEST_c_c (clog, 0x0.fffffffffffff8p0L, 0x0.fffffffffffff8p-1000L, -1.110223024625156602053389888482372171810e-16L, 9.332636185032188789900895447238171696171e-302L);
+ TEST_c_c (clog, 0x0.fffffffffffff8p0L, 0x0.fffffffffffff8p-1000L, -1.110223024625156602053389888482372171810e-16L, 9.332636185032188789900895447238171696171e-302L, UNDERFLOW_EXCEPTION_LDOUBLE_IBM);
#endif
#if defined TEST_LDOUBLE && LDBL_MIN_EXP <= -16381
TEST_c_c (clog, 0x0.ffffffffffffffffp0L, 0x0.ffffffffffffffffp-15000L, -5.421010862427522170184200798202494495630e-20L, 3.548665303440282824232502561095699343814e-4516L);
@@ -2738,12 +2738,12 @@ clog10_test (void)
#endif
#if defined TEST_LDOUBLE && LDBL_MANT_DIG >= 106
TEST_c_c (clog10, 0x1.00000000000000123456789abcp0L, 0x1.23456789p-60L, 4.285899851347756188767674032946882584784e-19L, 4.285899850759344225805480528847018395861e-19L);
- TEST_c_c (clog10, 0x1.00000000000000123456789abcp0L, 0x1.23456789p-1000L, 4.285899851347756186652871946325962330640e-19L, 4.611541215247321502041995872887317363241e-302L);
+ TEST_c_c (clog10, 0x1.00000000000000123456789abcp0L, 0x1.23456789p-1000L, 4.285899851347756186652871946325962330640e-19L, 4.611541215247321502041995872887317363241e-302L, UNDERFLOW_EXCEPTION_LDOUBLE_IBM);
#endif
TEST_c_c (clog10, 0x0.ffffffp0L, 0x0.ffffffp-100L, -2.588596909321764128428416045209904492216e-8L, 3.425979381266895667295625489912064603415e-31L);
#ifndef TEST_FLOAT
- TEST_c_c (clog10, 0x0.fffffffffffff8p0L, 0x0.fffffffffffff8p-1000L, -4.821637332766435821255375046554377090472e-17L, 4.053112396770095089737411317782466262176e-302L);
+ TEST_c_c (clog10, 0x0.fffffffffffff8p0L, 0x0.fffffffffffff8p-1000L, -4.821637332766435821255375046554377090472e-17L, 4.053112396770095089737411317782466262176e-302L, UNDERFLOW_EXCEPTION_LDOUBLE_IBM);
#endif
#if defined TEST_LDOUBLE && LDBL_MIN_EXP <= -16381
TEST_c_c (clog10, 0x0.ffffffffffffffffp0L, 0x0.ffffffffffffffffp-15000L, -2.354315103889861110220423157644627849164e-20L, 1.541165759405643564697852372112893034397e-4516L);
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
math/libm-test.inc | 8 ++++----
2 files changed, 8 insertions(+), 4 deletions(-)
hooks/post-receive
--
GNU C Library master sources