about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-10-16 13:28:30 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-10-16 13:28:30 +0000
commit596f70134a8f11967c65c1d55a94a3a2718c731d (patch)
tree042d0c95f65e50fceec0f4caf11d16325bf7e30c /ChangeLog
parent02010e79ceb7989686a0c8c40878024e30fdc888 (diff)
downloadglibc-596f70134a8f11967c65c1d55a94a3a2718c731d.tar.gz
glibc-596f70134a8f11967c65c1d55a94a3a2718c731d.tar.xz
glibc-596f70134a8f11967c65c1d55a94a3a2718c731d.zip
Support running libm tests for float128 as alias for long double.
This patch adds support for running libm tests for float128 in the
case where the float128 functions are aliases of long double
functions.  In this case, the sysdeps Makeconfig file
(i.e. sysdeps/ieee754/ldbl-128/Makeconfig) will need to define
"float128-alias-fcts = yes" to enable the tests.

Tested for x86_64.  Also tested with build-many-glibcs.py; installed
stripped shared libraries are unchanged by the patch.  Also tested
together with changes to enable the float128 aliases.

	* math/Makefile (test-types): Add
	$(type-float128-$(float128-alias-fcts)).
	* math/test-float128.h (TYPE_STR): Define conditional on
	[FLT128_MANT_DIG == LDBL_MANT_DIG].
	(ULP_IDX): Likewise.
	(ULP_I_IDX): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 52ea0d96aa..e45b749a40 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2017-10-16  Joseph Myers  <joseph@codesourcery.com>
 
+	* math/Makefile (test-types): Add
+	$(type-float128-$(float128-alias-fcts)).
+	* math/test-float128.h (TYPE_STR): Define conditional on
+	[FLT128_MANT_DIG == LDBL_MANT_DIG].
+	(ULP_IDX): Likewise.
+	(ULP_I_IDX): Likewise.
+
 	* stdlib/strtold.c: Include <bits/floatn.h>
 	[__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
 	and later undefine as macro.  Define as weak alias if