This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix ldbl-128 logl for subnormals (bug 16338)
- From: Andreas Jaeger <aj at suse dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>, libc-alpha at sourceware dot org
- Cc: David Miller <davem at davemloft dot net>, Marcus Shawcroft <marcus dot shawcroft at linaro dot org>
- Date: Wed, 18 Dec 2013 08:47:04 +0100
- Subject: Re: Fix ldbl-128 logl for subnormals (bug 16338)
- Authentication-results: sourceware.org; auth=none
- References: <Pine dot LNX dot 4 dot 64 dot 1312180038350 dot 3620 at digraph dot polyomino dot org dot uk>
On 12/18/2013 01:41 AM, Joseph S. Myers wrote:
> This patch fixes bug 16338, ldbl-128 logl not handling subnormals
> (with consequent inaccuracy for lgammal as well). The fix is simply
> to use __frexpl when determining the exponent, as done already in
> log2l and log10l. Given the lack of testing of small arguments to any
> of the log* functions, appropriate tests are added for all of them.
Ok, thanks,
Andreas
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter: 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