This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix ldbl-96 hypotl of subnormals (bug 15529)
- From: Andreas Jaeger <aj at suse dot com>
- To: libc-alpha at sourceware dot org
- Date: Fri, 24 May 2013 22:30:55 +0200
- Subject: Re: Fix ldbl-96 hypotl of subnormals (bug 15529)
- References: <Pine dot LNX dot 4 dot 64 dot 1305242026430 dot 5800 at digraph dot polyomino dot org dot uk>
On 05/24/2013 10:27 PM, Joseph S. Myers wrote:
Examining the listed LSB failures showed bug 15529, ldbl-96 hypotl
giving incorrect results for subnormal operands because, when
multiplying by 2^16382, it actually multiplied by an invalid value
with the high bit of the mantissa (that is explicit in the ldbl-96
format) not set. This patch fixes the code to use a correct
representation of 2^16382. Tested x86_64 and x86.
ok, thanks!
Andreas
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126