This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2] ldbl-128ibm-compat: Add printf_size
- From: Joseph Myers <joseph at codesourcery dot com>
- To: "Gabriel F. T. Gomes" <gabriel at inconstante dot eti dot br>
- Cc: <libc-alpha at sourceware dot org>
- Date: Sat, 30 Jun 2018 20:31:34 +0000
- Subject: Re: [PATCH v2] ldbl-128ibm-compat: Add printf_size
- References: <20180629213504.25820-1-gabriel@inconstante.eti.br>
On Fri, 29 Jun 2018, Gabriel F. T. Gomes wrote:
> This patch adds __printf_sizeieee128 as an exported symbol, but doesn't
> provide redirections from printf_size, yet. All redirections will be
> installed in a future commit, once all other functions that print or
> read long double values with binary128 format are ready. In
> __printf_fp, when 'is_binary128' is one, the floating-point argument is
> treated as if it was of _Float128 type, regardless of the value of
> 'is_long_double', thus __printf_sizeieee128 sets 'is_binary128' to the
> same value of 'is_long_double'. Otherwise, double values would not be
> printed correctly.
This patch is OK.
--
Joseph S. Myers
joseph@codesourcery.com