This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix exp10 errno setting on underflow (bug 6787)
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 29 Nov 2013 03:07:14 +0100
- Subject: Re: Fix exp10 errno setting on underflow (bug 6787)
- Authentication-results: sourceware.org; auth=none
- References: <Pine dot LNX dot 4 dot 64 dot 1311290145300 dot 22976 at digraph dot polyomino dot org dot uk>
On Fri, Nov 29, 2013 at 01:48:13AM +0000, Joseph S. Myers wrote:
> This patch fixes bug 6787, exp10 not setting errno to ERANGE on
> underflow to zero, by fixing underflow tests that only checked
> __finite on the result to check for a result of 0 as well.
>
> Tested x86_64 and x86.
>
looks ok.