diff options
Diffstat (limited to 'stdlib/strfrom-skeleton.c')
-rw-r--r-- | stdlib/strfrom-skeleton.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/stdlib/strfrom-skeleton.c b/stdlib/strfrom-skeleton.c index 811a29c7d3..5841919fe4 100644 --- a/stdlib/strfrom-skeleton.c +++ b/stdlib/strfrom-skeleton.c @@ -132,6 +132,12 @@ STRFROM (char *dest, size_t size, const char *format, FLOAT f) which type of floating-point number is being passed. */ info.is_long_double = __builtin_types_compatible_p (FLOAT, long double); + /* Similarly, the function strfromf128 passes a floating-point number in + _Float128 format to printf_fp. */ +#if __HAVE_DISTINCT_FLOAT128 + info.is_binary128 = __builtin_types_compatible_p (FLOAT, _Float128); +#endif + /* Set info according to the format string. */ info.prec = precision; info.spec = specifier; |