[Fwd: [Bug math/6869] sin() and cos() return grossly wrong results when rounding is set to upward]
-------- Original Message -------- Subject: [Bug math/6869] sin() and cos() return grossly wrong results when rounding is set to upward Date: 29 Sep 2008 16:43:31 -0000 From: anders dot lennartsson at foi dot se <sourceware-bugzilla@sourceware.org> Reply-To: sourceware-bugzilla@sourceware.org To: bagnara@cs.unipr.it References: <20080905193441.6869.bagnara@cs.unipr.it> ------- 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|<pi are the results completely correct. -- http://sourceware.org/bugzilla/show_bug.cgi?id=6869 ------- You are receiving this mail because: ------- You reported the bug, or are watching the reporter. -- Prof. Roberto Bagnara Computer Science Group Department of Mathematics, University of Parma, Italy http://www.cs.unipr.it/~bagnara/ mailto:bagnara@cs.unipr.it
participants (1)
-
Roberto Bagnara