This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/6869] sin() and cos() return grossly wrong results when rounding is set to upward
- From: "anders dot lennartsson at foi dot se" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 29 Sep 2008 16:43:31 -0000
- Subject: [Bug math/6869] sin() and cos() return grossly wrong results when rounding is set to upward
- References: <20080905193441.6869.bagnara@cs.unipr.it>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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 are on the CC list for the bug, or are watching someone who is.