From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20109 invoked by alias); 31 Mar 2014 14:57:40 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 20074 invoked by uid 55); 31 Mar 2014 14:57:35 -0000 From: "cvs-commit at gcc dot gnu.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 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.19 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-03/txt/msg00234.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=16349 --- Comment #1 from 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 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 . (__atan2): Set errno for result underflowing to zero. * math/w_atan2f.c: Include . (__atan2f): Set errno for result underflowing to zero. * math/w_atan2l.c: Include . (__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.