From 6962682ffe5e5f0373047a0b894fee7a774be254 Mon Sep 17 00:00:00 2001 From: "Gabriel F. T. Gomes" Date: Tue, 28 Jun 2016 17:30:42 -0300 Subject: Add strfromd, strfromf, and strfroml functions ISO/IEC TS 18661-1 adds several functions in the strfrom family to stdlib. This patch adds strfromd, strfromf, and strfroml. This is being done in preparation for the new floating-point type, float128. The added functions convert a floating-point value into a string, with configurable format. --- stdlib/bits/stdlib-ldbl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'stdlib/bits') diff --git a/stdlib/bits/stdlib-ldbl.h b/stdlib/bits/stdlib-ldbl.h index acff499165..52fdc492d4 100644 --- a/stdlib/bits/stdlib-ldbl.h +++ b/stdlib/bits/stdlib-ldbl.h @@ -30,6 +30,10 @@ __END_NAMESPACE_C99 __LDBL_REDIR1_DECL (strtold_l, strtod_l) #endif +#if __GLIBC_USE (IEC_60559_BFP_EXT) +__LDBL_REDIR1_DECL (strfroml, strfromd) +#endif + #ifdef __USE_MISC __LDBL_REDIR1_DECL (qecvt, ecvt) __LDBL_REDIR1_DECL (qfcvt, fcvt) -- cgit v1.2.3