Support defining strfromf64, strfromf32x aliases

System Internals / glibc - Joseph Myers [codesourcery.com] - 5 December 2017 18:01 EST

This patch adds support for defining strfromf64 and strfromf32x aliases of strfromd when the corresponding types are enabled.

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

- stdlib/strfromd.c: Include . [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define and later undefine as macro and define as weak alias. [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x): Likewise.

1f70eae4cf Support defining strfromf64, strfromf32x aliases.
ChangeLog | 6 ++++++
stdlib/strfromd.c | 25 +++++++++++++++++++++++++
2 files changed, 31 insertions(+)

Upstream: sourceware.org


  • Share