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.26.9000-670-gecc7da5


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  ecc7da5bb897f17ef470fc928ab2b7132e3fa069 (commit)
      from  5d220788b3a97f1c726eb7f0c98333cbc2b41433 (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=ecc7da5bb897f17ef470fc928ab2b7132e3fa069

commit ecc7da5bb897f17ef470fc928ab2b7132e3fa069
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Oct 26 23:34:55 2017 +0000

    Add SNAN macros for more _FloatN, _FloatNx types.
    
    This patch continues the preparation for additional _FloatN / _FloatNx
    type support by adding appropriately conditional definitions of SNAN*
    macros, corresponding to the SNANF128 definition already present.
    
    Tested for x86_64.
    
    	* math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
    	(IEC_60559_TYPES_EXT)] (SNANF16): New macro.
    	[__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
    	Likewise.
    	[__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
    	Likewise.
    	[__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
    	Likewise.
    	[__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
    	Likewise.
    	[__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
    	(SNANF128X): Likewise.

diff --git a/ChangeLog b/ChangeLog
index 0f9a0fd..4822e49 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,19 @@
 2017-10-26  Joseph Myers  <joseph@codesourcery.com>
 
 	* math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
+	(IEC_60559_TYPES_EXT)] (SNANF16): New macro.
+	[__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
+	Likewise.
+	[__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
+	Likewise.
+	[__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
+	Likewise.
+	[__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
+	Likewise.
+	[__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
+	(SNANF128X): Likewise.
+
+	* math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
 	(IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
 	[__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
 	(HUGE_VAL_F32): Likewise.
diff --git a/math/math.h b/math/math.h
index 4affd2a..22ff23b 100644
--- a/math/math.h
+++ b/math/math.h
@@ -112,9 +112,27 @@ __BEGIN_DECLS
 #  define SNANL (__builtin_nansl (""))
 # endif
 #endif
+#if __HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)
+# define SNANF16 (__builtin_nansf16 (""))
+#endif
+#if __HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)
+# define SNANF32 (__builtin_nansf32 (""))
+#endif
+#if __HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)
+# define SNANF64 (__builtin_nansf64 (""))
+#endif
 #if __HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
 # define SNANF128 (__builtin_nansf128 (""))
 #endif
+#if __HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)
+# define SNANF32X (__builtin_nansf32x (""))
+#endif
+#if __HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)
+# define SNANF64X (__builtin_nansf64x (""))
+#endif
+#if __HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)
+# define SNANF128X (__builtin_nansf128x (""))
+#endif
 
 /* Get __GLIBC_FLT_EVAL_METHOD.  */
 #include <bits/flt-eval-method.h>

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

Summary of changes:
 ChangeLog   |   13 +++++++++++++
 math/math.h |   18 ++++++++++++++++++
 2 files changed, 31 insertions(+), 0 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]