This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix clog10 (-0 +/- 0i) (bug 16362)
- From: Andreas Jaeger <aj at suse dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>, libc-alpha at sourceware dot org
- Date: Fri, 28 Mar 2014 20:02:12 +0100
- Subject: Re: Fix clog10 (-0 +/- 0i) (bug 16362)
- Authentication-results: sourceware.org; auth=none
- References: <Pine dot LNX dot 4 dot 64 dot 1403281519050 dot 6067 at digraph dot polyomino dot org dot uk>
On 03/28/2014 04:19 PM, Joseph S. Myers wrote:
> This patch fixes the imaginary part of clog10 (-0 ± 0i), which
> should be ±pi / log(10) by analogy with clog (the functions were
> wrongly returning a result with imaginary part ±pi, same as for
> clog, and the tests matched the incorrect result, though both
> functions and tests were correct for the similar case of clog10 (-inf
> ± 0i)). 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