public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug math/16283] New: exp2 does not set errno on underflow @ 2013-12-02 18:32 jsm28 at gcc dot gnu.org 2013-12-03 20:51 ` [Bug math/16283] " cvs-commit at gcc dot gnu.org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: jsm28 at gcc dot gnu.org @ 2013-12-02 18:32 UTC (permalink / raw) To: glibc-bugs https://sourceware.org/bugzilla/show_bug.cgi?id=16283 Bug ID: 16283 Summary: exp2 does not set errno on underflow Product: glibc Version: 2.19 Status: NEW Severity: normal Priority: P2 Component: math Assignee: unassigned at sourceware dot org Reporter: jsm28 at gcc dot gnu.org exp2 does not set errno to ERANGE on underflow to 0 in at least some cases. For float testing, this applies to at least the following on x86_64: testing float (without inline functions) Failure: exp2 (-0x4.01p+12): errno set to 0, expected 34 (ERANGE) Failure: exp2 (-0x4.32p+8): errno set to 0, expected 34 (ERANGE) Failure: exp2 (-0xf.424p+16): errno set to 0, expected 34 (ERANGE) Failure: exp2 (-0xf.fffffp+124): errno set to 0, expected 34 (ERANGE) -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug math/16283] exp2 does not set errno on underflow 2013-12-02 18:32 [Bug math/16283] New: exp2 does not set errno on underflow jsm28 at gcc dot gnu.org @ 2013-12-03 20:51 ` cvs-commit at gcc dot gnu.org 2013-12-03 20:53 ` jsm28 at gcc dot gnu.org 2014-06-13 9:30 ` fweimer at redhat dot com 2 siblings, 0 replies; 4+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2013-12-03 20:51 UTC (permalink / raw) To: glibc-bugs http://sourceware.org/bugzilla/show_bug.cgi?id=16283 --- 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 17dea1887fcc116941e07cb0f5f2078140ab0384 (commit) from b20de2c3d9d751eb259c321426188eefc64fcbe9 (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=17dea1887fcc116941e07cb0f5f2078140ab0384 commit 17dea1887fcc116941e07cb0f5f2078140ab0384 Author: Joseph Myers <joseph@codesourcery.com> Date: Tue Dec 3 20:50:51 2013 +0000 Fix exp2 errno setting on underflow (bug 16283). ----------------------------------------------------------------------- Summary of changes: ChangeLog | 10 +++ NEWS | 2 +- math/auto-libm-test-in | 12 +-- math/auto-libm-test-out | 170 +++++++++++++++++++++++----------------------- math/w_exp2.c | 2 +- math/w_exp2f.c | 2 +- math/w_exp2l.c | 2 +- 7 files changed, 103 insertions(+), 97 deletions(-) -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug math/16283] exp2 does not set errno on underflow 2013-12-02 18:32 [Bug math/16283] New: exp2 does not set errno on underflow jsm28 at gcc dot gnu.org 2013-12-03 20:51 ` [Bug math/16283] " cvs-commit at gcc dot gnu.org @ 2013-12-03 20:53 ` jsm28 at gcc dot gnu.org 2014-06-13 9:30 ` fweimer at redhat dot com 2 siblings, 0 replies; 4+ messages in thread From: jsm28 at gcc dot gnu.org @ 2013-12-03 20:53 UTC (permalink / raw) To: glibc-bugs https://sourceware.org/bugzilla/show_bug.cgi?id=16283 Joseph Myers <jsm28 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> --- Fixed for 2.19. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug math/16283] exp2 does not set errno on underflow 2013-12-02 18:32 [Bug math/16283] New: exp2 does not set errno on underflow jsm28 at gcc dot gnu.org 2013-12-03 20:51 ` [Bug math/16283] " cvs-commit at gcc dot gnu.org 2013-12-03 20:53 ` jsm28 at gcc dot gnu.org @ 2014-06-13 9:30 ` fweimer at redhat dot com 2 siblings, 0 replies; 4+ messages in thread From: fweimer at redhat dot com @ 2014-06-13 9:30 UTC (permalink / raw) To: glibc-bugs https://sourceware.org/bugzilla/show_bug.cgi?id=16283 Florian Weimer <fweimer at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |security- -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-06-13 9:30 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-12-02 18:32 [Bug math/16283] New: exp2 does not set errno on underflow jsm28 at gcc dot gnu.org 2013-12-03 20:51 ` [Bug math/16283] " cvs-commit at gcc dot gnu.org 2013-12-03 20:53 ` jsm28 at gcc dot gnu.org 2014-06-13 9:30 ` fweimer at redhat dot com
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).