This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/43490] sin(x) (actually probably all trig) is inaccurate for large x
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Mar 2010 12:37:58 -0000
- Subject: [Bug c/43490] sin(x) (actually probably all trig) is inaccurate for large x
- References: <bug-43490-18948@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from rguenth at gcc dot gnu dot org 2010-03-24 12:37 -------
Both sin and sinf are assembly routines so can't probably be affected by
the gcc used to compile them. See sysdeps/i386/fpu/s_sinf.S and
sysdeps/i386/fpu/s_sin.S.
I have not seen a working library for your testcase (2.9, built with
GCC 4.3.2 is broken).
This isn't a GCC bug but a glibc bug. Clearly glibc uses fsin out of specs.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43490