public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "eberlein at us dot ibm dot com" <sourceware-bugzilla@sourceware.org> To: glibc-bugs@sources.redhat.com Subject: [Bug math/6869] sin() and cos() return grossly wrong results when rounding is set to upward Date: Fri, 05 Sep 2008 21:20:00 -0000 [thread overview] Message-ID: <20080905211917.12633.qmail@sourceware.org> (raw) In-Reply-To: <20080905193441.6869.bagnara@cs.unipr.it> ------- Additional Comments From eberlein at us dot ibm dot com 2008-09-05 21:19 ------- Here are the results for SLES10 SP1, Power6, using Advance Toolchain GLIBC 2.8, GCC 4.3.1, again very wrong: theta = 5.27906 sin(theta) = -0.843695 cos(theta) = 0.536822 Repeating after setting the rounding direction to UPWARD: theta = 5.27906 sin(theta) = -0.0702948 cos(theta) = 9.55255 I also checked the calculation of sin and cos by moving it before setting the rounding mode and printing it after setting the rounding mode: the correct results were printed. This indicates the problem is in sin and cos, and not with io. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |eberlein at us dot ibm dot | |com http://sourceware.org/bugzilla/show_bug.cgi?id=6869 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
next prev parent reply other threads:[~2008-09-05 21:20 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-09-05 19:35 [Bug math/6869] New: " bagnara at cs dot unipr dot it 2008-09-05 19:37 ` [Bug math/6869] " bagnara at cs dot unipr dot it 2008-09-05 21:20 ` eberlein at us dot ibm dot com [this message] 2008-09-24 10:45 ` anders dot lennartsson at foi dot se 2008-09-29 16:44 ` anders dot lennartsson at foi dot se 2010-03-21 22:24 ` vincent+libc at vinc17 dot org [not found] <bug-6869-131@http.sourceware.org/bugzilla/> 2014-07-02 7:44 ` fweimer at redhat dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20080905211917.12633.qmail@sourceware.org \ --to=sourceware-bugzilla@sourceware.org \ --cc=glibc-bugs@sources.redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).