This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Increase internal precision of ldbl-128ibm decimal printf
- From: Joseph Myers <joseph at codesourcery dot com>
- To: "Paul E. Murphy" <murphyp at linux dot vnet dot ibm dot com>
- Cc: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>, Tulio Magno Quites Machado Filho <tuliom at linux dot vnet dot ibm dot com>
- Date: Thu, 17 Mar 2016 22:16:57 +0000
- Subject: Re: [PATCH] Increase internal precision of ldbl-128ibm decimal printf
- Authentication-results: sourceware.org; auth=none
- References: <56EB246E dot 4050504 at linux dot vnet dot ibm dot com>
On Thu, 17 Mar 2016, Paul E. Murphy wrote:
> When the signs differ, the precision of the conversion
> could drop below 106 bits. This strategy is
> identical to the hexadecimal variant.
I assume this was user-visible in a release, in which case it should have
a bug filed in Bugzilla (if it doesn't already have one - I take it this
is distinct from bug 5268?).
It should also have a testcase included in the patch (there are several
tests in sysdeps/ieee754/ldbl-128ibm already for issues specific to this
format - various of which use unions to test issues that can't be tested
simply with 106-bit inputs GCC can represent, or where it's necessary to
examine the two halves of a long double result separately).
--
Joseph S. Myers
joseph@codesourcery.com