about summary refs log tree commit diff
path: root/posix/testcases.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-09-14 01:11:46 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-09-14 01:11:46 +0000
commit02093e62226ca5ce04a2f69c0682eea828a6f9ee (patch)
tree693e3825e25513c4518b455d3350f0f6d616305d /posix/testcases.h
parent1aae75ef80aaa6129fb3f2a68fdfba60a945c4df (diff)
downloadglibc-02093e62226ca5ce04a2f69c0682eea828a6f9ee.tar.gz
glibc-02093e62226ca5ce04a2f69c0682eea828a6f9ee.tar.xz
glibc-02093e62226ca5ce04a2f69c0682eea828a6f9ee.zip
Define and use libm_alias_float128.
Continuing the process of setting up common macros for libm function
aliases, with a view to using them to define _FloatN / _FloatNx
aliases in future, this patch adds a libm_alias_float128 macro and
uses it in the type-generic templates.  (_Float128 functions will end
up with _Float64x aliases on powerpc64le, but not on x86_64/x86/ia64
because _Float64x has long double format there, and the macro will
provide a single place for the conditionals for that choice, as well
as for once ldbl-128 functions always build *f128 and need
conditionals for whether to have *l aliases.)

Tested for x86_64.  Also tested with build-many-glibcs.py that
installed stripped shared libraries are unchanged by the patch.

	* sysdeps/generic/libm-alias-float128.h: New file.
	* sysdeps/generic/math-type-macros-float128.h: Include
	<libm-alias-float128.h>.
	[!declare_mgen_alias] (declare_mgen_alias): Define macro.
Diffstat (limited to 'posix/testcases.h')
0 files changed, 0 insertions, 0 deletions