This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/1163] sinf inaccurate for some inputs
- From: "liubov.dmitrieva at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Fri, 22 Jun 2012 18:08:04 +0000
- Subject: [Bug math/1163] sinf inaccurate for some inputs
- Auto-submitted: auto-generated
- References: <bug-1163-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=1163
Liubov Dmitrieva <liubov.dmitrieva at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |liubov.dmitrieva at gmail
| |dot com
--- Comment #5 from Liubov Dmitrieva <liubov.dmitrieva at gmail dot com> 2012-06-22 18:08:04 UTC ---
There are many inputs give results that are wrong by more than 1 ulp for sinf()
in sysdeps/ieee754/flt-32, and for cosf - also...
I unintentionally attached my data to another tracker:
http://sourceware.org/bugzilla/show_bug.cgi?id=5997
Summary is: Intel proprietary test system observed ~1.4 ulp errors on usual
arguments, and observed total loss of accuracy on |x| > 1e30 for current glibc
routines which use the flt-32 C implementations
I've submitted a patch proposed new implementation which solves the issue for
all architectures with SSE2 support and significantly improves performance.
http://sourceware.org/ml/libc-alpha/2012-06/msg00624.html
I intend submit a patch with x86_64 Sse2 implementation of sinf and cosf as
well.
New Asm versions, provided by Intel, are maximum 0.500121 ulp for sinf,
0.500573 ulp for cosf.
--
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.