public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org> To: glibc-bugs@sourceware.org Subject: [Bug math/16349] atan2 does not set errno on underflow Date: Mon, 31 Mar 2014 14:57:00 -0000 [thread overview] Message-ID: <bug-16349-131-ueROB8dqio@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-16349-131@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=16349 --- 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 54fa2475d37b9c7afd903eb970362e50ec76f01e (commit) from 757d9dd5c3efa56fac75965abc014faaae7b7895 (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=54fa2475d37b9c7afd903eb970362e50ec76f01e commit 54fa2475d37b9c7afd903eb970362e50ec76f01e Author: Joseph Myers <joseph@codesourcery.com> Date: Mon Mar 31 14:56:37 2014 +0000 Set errno for atan2 underflow (bug 16349). This patch fixes bug 16349, missing errno setting for atan2 underflow, by adding appropriate checks to the existing wrappers. (As in other cases, the __kernel_standard support for calling matherr is considered to be for existing code expecting existing rules for what's considered an error, even if those don't correspond to a general logical scheme for what counts as what kind of error, so __set_errno calls are added directly without any changes to __kernel_standard.) Tested x86_64 and x86. [BZ #16349] * math/w_atan2.c: Include <errno.h>. (__atan2): Set errno for result underflowing to zero. * math/w_atan2f.c: Include <errno.h>. (__atan2f): Set errno for result underflowing to zero. * math/w_atan2l.c: Include <errno.h>. (__atan2l): Set errno for result underflowing to zero. * math/auto-libm-test-in: Don't allow missing errno for some atan2 tests. * math/auto-libm-test-out: Regenerated. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 13 + NEWS | 10 +- math/auto-libm-test-in | 9 +- math/auto-libm-test-out | 1076 +++++++++++++++++++++++----------------------- math/w_atan2.c | 8 +- math/w_atan2f.c | 8 +- math/w_atan2l.c | 8 +- 7 files changed, 581 insertions(+), 551 deletions(-) -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2014-03-31 14:57 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-12-20 17:55 [Bug math/16349] New: " jsm28 at gcc dot gnu.org 2014-03-31 14:57 ` cvs-commit at gcc dot gnu.org [this message] 2014-03-31 14:59 ` [Bug math/16349] " jsm28 at gcc dot gnu.org 2014-06-13 11:24 ` fweimer at redhat dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-16349-131-ueROB8dqio@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=glibc-bugs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).