about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2017-02-01 17:54:25 -0200
committerGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2017-05-15 10:24:14 -0300
commitcdd45522b6e87369afc341402bda7a95bdf83380 (patch)
tree7eb2e569ca78a1bb395c97eda2610a60c40a408a /sysdeps
parent81f26b53b5e9a3520fb3cfd0be743339e13dfb56 (diff)
downloadglibc-cdd45522b6e87369afc341402bda7a95bdf83380.tar.gz
glibc-cdd45522b6e87369afc341402bda7a95bdf83380.tar.xz
glibc-cdd45522b6e87369afc341402bda7a95bdf83380.zip
float128: Enable use of IEEE wrapper templates
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.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/math-type-macros-float128.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/generic/math-type-macros-float128.h b/sysdeps/generic/math-type-macros-float128.h
index dcb8560548..5d734db29f 100644
--- a/sysdeps/generic/math-type-macros-float128.h
+++ b/sysdeps/generic/math-type-macros-float128.h
@@ -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