mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-13 06:40:09 +00:00
6962682ffe
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.
9 lines
165 B
C
9 lines
165 B
C
#include "nldbl-compat.h"
|
|
|
|
int
|
|
attribute_hidden
|
|
strfroml (char *dest, size_t size, const char *format, long double f)
|
|
{
|
|
return strfromd (dest, size, format, f);
|
|
}
|