This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/17050] y1 missing errno setting on overflow
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 23 Jun 2014 20:18:28 +0000
- Subject: [Bug math/17050] y1 missing errno setting on overflow
- Auto-submitted: auto-generated
- References: <bug-17050-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17050
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 46a3d3c7d60db15ea65470800bcba695f55ce6f6 (commit)
from 863893ec95f316a3d156d487b99242ee1b52f803 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=46a3d3c7d60db15ea65470800bcba695f55ce6f6
commit 46a3d3c7d60db15ea65470800bcba695f55ce6f6
Author: Joseph Myers <joseph@codesourcery.com>
Date: Mon Jun 23 20:17:13 2014 +0000
Set errno for y1 overflow (bug 17050).
This patch fixes bug 17050, missing errno setting for y1 overflow (for
small positive arguments). An appropriate check is added for overflow
directly in the __ieee754_y1 implementation, similar to the check
present for yn (doing it there rather than in the wrapper also avoids
yn needing to repeat the check when called for order 1 or -1 and it
uses __ieee754_y1).
Tested x86_64 and x86; no ulps update needed. Also tested for mips64
to verify the ldbl-128 fix (the ldbl-128ibm code just #includes the
ldbl-128 file).
[BZ #17050]
* sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
(__ieee754_y1): Set errno if return value overflows.
* sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
(__ieee754_y1f): Set errno if return value overflows.
* sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
(__ieee754_y1l): Set errno if return value overflows.
* sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
(__ieee754_y1l): Set errno if return value overflows.
* math/auto-libm-test-in: Add more tests of y0, y1 and yn.
* math/auto-libm-test-out: Regenerated.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 12 +
NEWS | 2 +-
math/auto-libm-test-in | 23 +
math/auto-libm-test-out | 1738 ++++++++++++++++++++++++++++++++++++++
sysdeps/ieee754/dbl-64/e_j1.c | 6 +-
sysdeps/ieee754/flt-32/e_j1f.c | 6 +-
sysdeps/ieee754/ldbl-128/e_j1l.c | 8 +-
sysdeps/ieee754/ldbl-96/e_j1l.c | 6 +-
8 files changed, 1796 insertions(+), 5 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.