From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 46871 invoked by alias); 8 Apr 2015 17:15:23 -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 46480 invoked by uid 55); 8 Apr 2015 17:15:18 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug math/18197] atan inaccuracy Date: Wed, 08 Apr 2015 17:15: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.21 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: 2015-04/txt/msg00030.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18197 --- 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 ae63c7ebedcaa57017df4cb8ff0494a4705321ee (commit) from d5856d06c3ef62907f2865c502ada4baf3c9efa1 (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=ae63c7ebedcaa57017df4cb8ff0494a4705321ee commit ae63c7ebedcaa57017df4cb8ff0494a4705321ee Author: Joseph Myers Date: Wed Apr 8 17:14:12 2015 +0000 Fix dbl-64 atan in non-default rounding modes (bug 18197). The dbl-64 implementation of atan does computations that expect to run in round-to-nearest mode, and in other modes the errors can accumulate to more than the maximum accepted 9ulp. This patch makes it use FE_TONEAREST internally, similar to other functions with such issues. Tested for x86_64 and x86; no ulps updates needed. [BZ #18197] * sysdeps/ieee754/dbl-64/s_atan.c: Include . (atan): Set FE_TONEAREST mode for internal computations. * math/auto-libm-test-in: Add more tests of atan. * math/auto-libm-test-out: Regenerated. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 8 ++++++ NEWS | 2 +- math/auto-libm-test-in | 2 + math/auto-libm-test-out | 50 +++++++++++++++++++++++++++++++++++++++ sysdeps/ieee754/dbl-64/s_atan.c | 2 + 5 files changed, 63 insertions(+), 1 deletions(-) -- You are receiving this mail because: You are on the CC list for the bug.