public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/12588] New: fmaf gives incorrect results on x86-64
@ 2011-03-16  1:53 nwhitehe at mailinator dot com
  2011-03-16  8:08 ` [Bug math/12588] " jakub at redhat dot com
  2014-06-27 13:40 ` fweimer at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: nwhitehe at mailinator dot com @ 2011-03-16  1:53 UTC (permalink / raw)
  To: glibc-bugs

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

           Summary: fmaf gives incorrect results on x86-64
           Product: glibc
           Version: 2.11
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: aj@suse.de
        ReportedBy: nwhitehe@mailinator.com


Created attachment 5313
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5313
simple fmaf() test case

The fmaf() function appears to return incorrect results for some inputs.  A
small test case shows that the result of the operation is not computed as if in
infinite precision and then rounded once as the specification requires.

The test case is attached.  It computes fmaf(-0x1.6a0a06p-1, 0x1.6a0a06p-1,
0x1.00002ep-1).  On my x86-64 Ubuntu 10.04 system I get a result of 0x1p-24. 
The correct result is 0x1.51c3eep-25.

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug math/12588] fmaf gives incorrect results on x86-64
  2011-03-16  1:53 [Bug math/12588] New: fmaf gives incorrect results on x86-64 nwhitehe at mailinator dot com
@ 2011-03-16  8:08 ` jakub at redhat dot com
  2014-06-27 13:40 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jakub at redhat dot com @ 2011-03-16  8:08 UTC (permalink / raw)
  To: glibc-bugs

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

Jakub Jelinek <jakub at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at redhat dot com
         Resolution|                            |FIXED

--- Comment #1 from Jakub Jelinek <jakub at redhat dot com> 2011-03-16 08:08:47 UTC ---
Your glibc is too old, fma{f,,l} has been rewritten for glibc 2.13.

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug math/12588] fmaf gives incorrect results on x86-64
  2011-03-16  1:53 [Bug math/12588] New: fmaf gives incorrect results on x86-64 nwhitehe at mailinator dot com
  2011-03-16  8:08 ` [Bug math/12588] " jakub at redhat dot com
@ 2014-06-27 13:40 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 13:40 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=12588

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-27 13:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-16  1:53 [Bug math/12588] New: fmaf gives incorrect results on x86-64 nwhitehe at mailinator dot com
2011-03-16  8:08 ` [Bug math/12588] " jakub at redhat dot com
2014-06-27 13:40 ` 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).