This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PING][PATCH][BZ #6803] Set errno for scalbln
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Stefan Liebler <stli at linux dot vnet dot ibm dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Thu, 19 Jun 2014 21:58:33 +0000
- Subject: Re: [PING][PATCH][BZ #6803] Set errno for scalbln
- Authentication-results: sourceware.org; auth=none
- References: <lj8io2$hgi$1 at ger dot gmane dot org> <Pine dot LNX dot 4 dot 64 dot 1404251431210 dot 16509 at digraph dot polyomino dot org dot uk> <536A50C0 dot 7050600 at linux dot vnet dot ibm dot com> <Pine dot LNX dot 4 dot 64 dot 1405071534410 dot 29322 at digraph dot polyomino dot org dot uk> <lkfccv$gd5$1 at ger dot gmane dot org> <mvmvbtgy9oo dot fsf at hawking dot suse dot de> <lkfg3q$6sc$1 at ger dot gmane dot org> <mvmr444y6u3 dot fsf at hawking dot suse dot de> <lkflha$qha$1 at ger dot gmane dot org> <mvmmwesy3e9 dot fsf at hawking dot suse dot de> <lkg4fo$itv$1 at ger dot gmane dot org> <ll20fd$8uf$1 at ger dot gmane dot org>
On Thu, 15 May 2014, Stefan Liebler wrote:
> PING!
>
> This patch introduces a new wrapper for scalbln functions
> in order to set errno to ERANGE on overflow and underflow.
> The existing aliases that uses __scalbln functions are replaced by aliases to
> the new wrapper.
> The corresponding tests in libm-test.inc are updated to check for errno via
> ERRNO_PLUS_OFLOW etc.
This patch is OK.
--
Joseph S. Myers
joseph@codesourcery.com