This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCHv2] Increase internal precision of ldbl-128ibm decimal printf
- From: "Paul E. Murphy" <murphyp at linux dot vnet dot ibm dot com>
- To: Joseph Myers <joseph at codesourcery 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: Tue, 22 Mar 2016 09:16:06 -0500
- Subject: Re: [PATCHv2] Increase internal precision of ldbl-128ibm decimal printf
- Authentication-results: sourceware.org; auth=none
- References: <56F078A2 dot 2070602 at linux dot vnet dot ibm dot com> <alpine dot DEB dot 2 dot 10 dot 1603212328080 dot 17899 at digraph dot polyomino dot org dot uk>
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.