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] Increase internal precision of ldbl-128ibm decimal printf


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


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