This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/43490] sin(x) (actually probably all trig) is inaccurate for large x



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]