[PATCHv2] Increase internal precision of ldbl-128ibm decimal printf
Paul E. Murphy
murphyp@linux.vnet.ibm.com
Tue Mar 22 14:16:00 GMT 2016
I've opened and assigned BZ 19853.
The updated changelog:
2016-03-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
[BZ #19853]
* stdio-common/tst-sprintf3.c [TEST_N]: Refactor
TEST to take significant digits as second parameter.
[TEST]: Redefine in terms of TEST_N taking 30
significant digits.
(do_test): Add test case to demonstrate precision
failure in the ldbl-128ibm printf.
* sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
(__mpn_extract_long_double): Carry 7 extra intermediate
bits of precision to aide computing difference when
signs differ.
More information about the Libc-alpha
mailing list