[PATCH] Increase internal precision of ldbl-128ibm decimal printf

Joseph Myers joseph@codesourcery.com
Thu Mar 17 22:17:00 GMT 2016


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



More information about the Libc-alpha mailing list