This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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 math/14412] Removal of sysdeps/x86_64/fpu/s_sincos.S causes regressions


http://sourceware.org/bugzilla/show_bug.cgi?id=14412

--- Comment #34 from Rich Felker <bugdal at aerifal dot cx> 2013-04-29 13:32:45 UTC ---
Markus, your implementation has incorrect argument reduction. For inputs
outside of a small range (somewhere around [-2pi,2pi] but maybe slightly
larger), and near multiples of pi/2 (where either sin or cos has a near-zero
result and thus needs extra precision) you really need to fall back to the C
range-reduction code (or good luck reimplementing THAT in asm...). You could
perhaps use the x87 instruction in limited cases, though.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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