From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14602 invoked by alias); 29 Sep 2008 16:44:54 -0000 Received: (qmail 13304 invoked by uid 48); 29 Sep 2008 16:43:31 -0000 Date: Mon, 29 Sep 2008 16:44:00 -0000 Message-ID: <20080929164331.13303.qmail@sourceware.org> From: "anders dot lennartsson at foi dot se" To: glibc-bugs@sources.redhat.com In-Reply-To: <20080905193441.6869.bagnara@cs.unipr.it> References: <20080905193441.6869.bagnara@cs.unipr.it> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug math/6869] sin() and cos() return grossly wrong results when rounding is set to upward X-Bugzilla-Reason: CC 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 X-SW-Source: 2008-09/txt/msg00072.txt.bz2 ------- Additional Comments From anders dot lennartsson at foi dot se 2008-09-29 16:43 ------- Created an attachment (id=2967) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2967&action=view) modified version of test program and plot of results There are several intervals for which sine and cosine return wrong results, when rounding is adjusted according to the original bug report. I modified the original program to compute values for several angles, and plotted the results. The program and one plot are attached. As it turns out, not even for all arguments where |angle|