Support _Float32 in libm_alias_float.
commit26007a2f689c94477ce9a00986613ccede052388
authorJoseph Myers <joseph@codesourcery.com>
Wed, 6 Dec 2017 22:14:09 +0000 (6 22:14 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 6 Dec 2017 22:14:09 +0000 (6 22:14 +0000)
tree678ff9277a80fa8b33d3b124f12afcfc7a129d06
parentc191f64cd5e985bba95727c40cf02f3a0eae42e3
Support _Float32 in libm_alias_float.

This patch makes the libm_alias_float macro support creating _Float32
aliases, in preparation for enabling glibc support for that type.

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

* sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
[__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
(libm_alias_float_other_r): Create f32 alias.
(libm_alias_float_r): Use semicolon before call to
libm_alias_float_other_r.
ChangeLog
sysdeps/generic/libm-alias-float.h