diff options
author | Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> | 2016-06-28 17:30:42 -0300 |
---|---|---|
committer | Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> | 2016-10-25 17:03:54 -0200 |
commit | 6962682ffe5e5f0373047a0b894fee7a774be254 (patch) | |
tree | e8e3660cf706a62dc9c71972aa2acf165caf5c48 /stdlib/bits/stdlib-ldbl.h | |
parent | 78b7adbaea643f2f213bb113e3ec933416a769a8 (diff) | |
download | glibc-6962682ffe5e5f0373047a0b894fee7a774be254.zip glibc-6962682ffe5e5f0373047a0b894fee7a774be254.tar.gz glibc-6962682ffe5e5f0373047a0b894fee7a774be254.tar.bz2 |
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.
Diffstat (limited to 'stdlib/bits/stdlib-ldbl.h')
-rw-r--r-- | stdlib/bits/stdlib-ldbl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/stdlib/bits/stdlib-ldbl.h b/stdlib/bits/stdlib-ldbl.h index acff499..52fdc49 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) |