]> sourceware.org Git - glibc.git/commitdiff
float128: Enable use of IEEE wrapper templates
authorGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Wed, 1 Feb 2017 19:54:25 +0000 (17:54 -0200)
committerGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Mon, 15 May 2017 13:24:14 +0000 (10:24 -0300)
The templates for the IEEE functions wrappers implement wrappers that
do not rely on _LIB_VERSION / matherr / __kernel_standard
functionality to set errno and fix the return value of the functions.
The wrappers are ready to be used by all floating-point types, however
they will first be used by float128, since the old wrappers for float,
double, and long double need to be first deprecated and versioned.

This commits defines __USE_WRAPPER_TEMPLATE to 1 for float128 files,
so that the new wrapper templates are used for this type.

* sysdeps/generic/math-type-macros-float128.h
(__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
wrapper templates.

ChangeLog
sysdeps/generic/math-type-macros-float128.h

index d2282058badfcddbab521dc2f6aea86110fe450b..04e88e75332062c73edf76f8de2604acf72b0850 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
+
+       * sysdeps/generic/math-type-macros-float128.h
+       (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
+       wrapper templates.
+
 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
            Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
 
index dcb8560548bdb52aedabd12635e23b3de0fe76da..5d734db29fb54c9f7e809f5443f16235b3277839 100644 (file)
@@ -36,4 +36,7 @@
 /* Supply the generic macros.  */
 #include <math-type-macros.h>
 
+/* Use the type-generic wrapper templates.  */
+#define __USE_WRAPPER_TEMPLATE 1
+
 #endif
This page took 0.154049 seconds and 5 git commands to generate.