about summary refs log tree commit diff
path: root/math/test-fenv-clear-main.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-12-05 16:59:34 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-12-05 17:00:57 +0000
commitf2d64d621e620b3b11fc4ed55f3e753ed6dc31e7 (patch)
tree39cadddcb60529ccc4a500aa919956dfa9404b76 /math/test-fenv-clear-main.c
parent91c318e7b91467984bf68014ef37539d084a34ab (diff)
downloadglibc-f2d64d621e620b3b11fc4ed55f3e753ed6dc31e7.tar.gz
glibc-f2d64d621e620b3b11fc4ed55f3e753ed6dc31e7.tar.xz
glibc-f2d64d621e620b3b11fc4ed55f3e753ed6dc31e7.zip
Support _Float64, _Float32x in libm_alias_double.
This patch makes the libm_alias_double macros support creating
_Float64 and _Float32x aliases, in preparation for enabling glibc
support for those types.

Tested for x86_64; also tested with build-many-glibcs.py in
conjunction with other _Float64 / _Float32x changes.

	* sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
	(libm_alias_double_other_r_f64): New macro.
	(libm_alias_double_other_r_f32x): Likewise.
	(libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
	libm_alias_double_other_r_f32x.
	(libm_alias_double_r): Use semicolon before call to
	libm_alias_double_other_r.
	* sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
	<bits/floatn.h>.
	(libm_alias_double_other_r_f64): New macro.
	(libm_alias_double_other_r_f32x): Likewise.
	(libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
	libm_alias_double_other_r_f32x.
Diffstat (limited to 'math/test-fenv-clear-main.c')
0 files changed, 0 insertions, 0 deletions