public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/10709] New: sin() returns incorrect rounding
@ 2009-09-30 12:51 zimmerma+gcc at loria dot fr
  2009-09-30 12:58 ` [Bug math/10709] " zimmerma+gcc at loria dot fr
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: zimmerma+gcc at loria dot fr @ 2009-09-30 12:51 UTC (permalink / raw)
  To: glibc-bugs

for the double precision number closest to 2.522464e-1, the glibc sin() function
returns 2.4957989804940914e-01 (when printed to 17 digits, which identifies
uniquely double-precision numbers), whereas the correct rounding to nearest is
2.4957989804940911e-01.

According to glibc/sysdeps/ieee754/dbl-64/s_sin.c, the result should be
always correctly rounded.

-- 
           Summary: sin() returns incorrect rounding
           Product: glibc
           Version: 2.10
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: aj at suse dot de
        ReportedBy: zimmerma+gcc at loria dot fr
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: x86_64-redhat-linux
  GCC host triplet: x86_64-redhat-linux
GCC target triplet: x86_64-redhat-linux


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <bug-10709-131@http.sourceware.org/bugzilla/>]

end of thread, other threads:[~2014-07-01  6:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-30 12:51 [Bug math/10709] New: sin() returns incorrect rounding zimmerma+gcc at loria dot fr
2009-09-30 12:58 ` [Bug math/10709] " zimmerma+gcc at loria dot fr
2009-09-30 13:07 ` zimmerma+gcc at loria dot fr
2010-03-21 22:20 ` vincent+libc at vinc17 dot org
     [not found] <bug-10709-131@http.sourceware.org/bugzilla/>
2011-07-12 14:19 ` aj at suse dot de
2011-07-20 20:09 ` drepper.fsp at gmail dot com
2011-07-20 20:51 ` zimmerma+gcc at loria dot fr
2011-07-21  7:18 ` aj at suse dot de
2011-07-21  7:19 ` aj at suse dot de
2011-10-29 18:10 ` drepper.fsp at gmail dot com
2014-07-01  6:45 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).