This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] ldbl-128ibm-compat: Add printf_size


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]