From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 114758 invoked by alias); 15 Sep 2015 17:25:30 -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 114669 invoked by uid 55); 15 Sep 2015 17:25:24 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug math/15918] Unnecessary check for equality in hypotf() Date: Tue, 15 Sep 2015 17:25: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: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- 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: 2015-09/txt/msg00178.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=15918 --- Comment #5 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 694aabefd2eb3a0e2c5624d7feb1d7310b2bdd8b (commit) from 828bf6828b048b1482e95f84ca92e5fe0edcdc0c (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=694aabefd2eb3a0e2c5624d7feb1d7310b2bdd8b commit 694aabefd2eb3a0e2c5624d7feb1d7310b2bdd8b Author: Joseph Myers Date: Tue Sep 15 17:24:23 2015 +0000 Simplify hypotf infinity handling (bug 15918). Bug 15918 points out that the handling of infinities in hypotf can be simplified: it's enough to return the absolute value of the infinite argument without first comparing it to the other argument and possibly returning that other argument's absolute value. This patch makes that cleanup (which should not change how hypotf behaves on any input). Tested for x86_64. [BZ #15918] * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify handling of cases where one argument is an infinity. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 4 ++++ NEWS | 12 ++++++------ sysdeps/ieee754/flt-32/e_hypotf.c | 12 ++---------- 3 files changed, 12 insertions(+), 16 deletions(-) -- You are receiving this mail because: You are on the CC list for the bug.