Support defining strfromf32 alias.
commitfc10cc3f3223f1fa8c8dcc6743d18d1392808d71
authorJoseph Myers <joseph@codesourcery.com>
Wed, 6 Dec 2017 22:44:56 +0000 (6 22:44 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 6 Dec 2017 22:44:56 +0000 (6 22:44 +0000)
treeb453a9fca332a6aa571af60fc171a4d36e94d1f6
parente420d22826e081372d96af39f1f5a1fd4bb913a3
Support defining strfromf32 alias.

This patch adds support for defining strfromf32 as an alias of
strfromf when _Float32 support is enabled.

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

* stdlib/strfromf.c: Include <bits/floatn.h>.
[__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
and later undefine as macro and define as weak alias.
ChangeLog
stdlib/strfromf.c