From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20259 invoked by alias); 23 Dec 2011 11:42:53 -0000 Received: (qmail 20242 invoked by uid 22791); 23 Dec 2011 11:42:52 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 23 Dec 2011 11:42:41 +0000 From: "vincent-srcware at vinc17 dot net" To: glibc-bugs@sources.redhat.com Subject: [Bug math/13381] rounding problem wih sincosl Date: Fri, 23 Dec 2011 11:42: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vincent-srcware at vinc17 dot net X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aj at suse dot de X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: 2011-12/txt/msg00132.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=3D13381 --- Comment #12 from Vincent Lef=C3=A8vre 2011-12-23 11:41:46 UTC --- (In reply to comment #11) > The documentation does not mention that the algorithm is different and th= at > sincosl could return a different result that cosl and sinl. It doesn't have to. The C standard doesn't even require that the following program always return true on finite values of c (i.e. x and y can be different). int test (double c) { double x, y; x =3D sin(c); y =3D sin(c); return x =3D=3D y; } See my SIESTE slides to see how one can easily affect the result returned by sin(). --=20 Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=3Demail ------- You are receiving this mail because: ------- You are on the CC list for the bug.