This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.25-57-g24b2a1b


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  24b2a1b12283c73335281c4010bcbaafead04619 (commit)
      from  71223d68802e63a9d8e3b9f2907ccefffe1762cb (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=24b2a1b12283c73335281c4010bcbaafead04619

commit 24b2a1b12283c73335281c4010bcbaafead04619
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Mon Feb 20 17:53:51 2017 +0000

    Remove some unused libm-test exception macros.
    
    This patch removes some libm-test-support.h macros for exceptions that
    are no longer used.  EXCEPTIONS_OK has been unused for some time.  The
    macros for underflow exceptions with some types only were used when
    the results for complex inverse trig and hyperbolic functions were
    manually maintained, but are no longer needed now the auto-libm-test
    machinery is used to determine the correct result and exceptions for
    every floating-point format and rounding mode.
    
    Tested for x86_64.
    
    	* math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
    	(UNDERFLOW_EXCEPTION_FLOAT): Likewise.
    	(UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
    	(UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
    	(UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
    	(UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.

diff --git a/ChangeLog b/ChangeLog
index f345cad..05d8a35 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2017-02-20  Joseph Myers  <joseph@codesourcery.com>
+
+	* math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
+	(UNDERFLOW_EXCEPTION_FLOAT): Likewise.
+	(UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
+	(UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
+	(UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
+	(UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
+
 2017-02-19  Zack Weinberg  <zackw@panix.com>
 
 	* rt/tst-mqueue4.c: Include stdint.h.
diff --git a/math/libm-test-support.h b/math/libm-test-support.h
index 2b95497..0e78144 100644
--- a/math/libm-test-support.h
+++ b/math/libm-test-support.h
@@ -56,7 +56,6 @@ extern const char doc[];
 /* For "inexact" exceptions, the default is allowed but not required
    unless INEXACT_EXCEPTION or NO_INEXACT_EXCEPTION is specified.  */
 #define NO_INEXACT_EXCEPTION		0x200
-#define EXCEPTIONS_OK INVALID_EXCEPTION_OK+DIVIDE_BY_ZERO_EXCEPTION_OK
 /* Some special test flags, passed together with exceptions.  */
 #define IGNORE_ZERO_INF_SIGN		0x400
 #define TEST_NAN_SIGN			0x800
@@ -123,33 +122,6 @@ extern const char doc[];
 # define PAYLOAD_DIG (MANT_DIG - 2)
 #endif
 
-/* Values underflowing only for float.  */
-#if TEST_COND_binary32
-# define UNDERFLOW_EXCEPTION_FLOAT	UNDERFLOW_EXCEPTION
-# define UNDERFLOW_EXCEPTION_OK_FLOAT	UNDERFLOW_EXCEPTION_OK
-#else
-# define UNDERFLOW_EXCEPTION_FLOAT	0
-# define UNDERFLOW_EXCEPTION_OK_FLOAT	0
-#endif
-
-/* Values underflowing only for double or types with a larger least
-   positive normal value.  */
-#if TEST_COND_binary32 || TEST_COND_binary64 || TEST_COND_ibm128
-# define UNDERFLOW_EXCEPTION_DOUBLE	UNDERFLOW_EXCEPTION
-# define UNDERFLOW_EXCEPTION_OK_DOUBLE	UNDERFLOW_EXCEPTION_OK
-#else
-# define UNDERFLOW_EXCEPTION_DOUBLE	0
-# define UNDERFLOW_EXCEPTION_OK_DOUBLE	0
-#endif
-
-/* Values underflowing only for IBM long double or types with a larger least
-   positive normal value.  */
-#if TEST_COND_binary32 || TEST_COND_ibm128
-# define UNDERFLOW_EXCEPTION_LDOUBLE_IBM	UNDERFLOW_EXCEPTION
-#else
-# define UNDERFLOW_EXCEPTION_LDOUBLE_IBM	0
-#endif
-
 /* Values underflowing on architectures detecting tininess before
    rounding, but not on those detecting tininess after rounding.  */
 #define UNDERFLOW_EXCEPTION_BEFORE_ROUNDING	(TININESS_AFTER_ROUNDING \

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                |    9 +++++++++
 math/libm-test-support.h |   28 ----------------------------
 2 files changed, 9 insertions(+), 28 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]