public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/11877] New: atof returns the wrong number on x86.
@ 2010-08-04  9:32 floitsch at google dot com
  2010-09-02 16:24 ` [Bug libc/11877] " schwab at linux-m68k dot org
  0 siblings, 1 reply; 2+ messages in thread
From: floitsch at google dot com @ 2010-08-04  9:32 UTC (permalink / raw)
  To: glibc-bugs

On some string atof returns the wrong number.
Gcc compiles to the correct double.
Example:
if (3929201589819414e-25 != atof("3929201589819414e-25"))
  bad_glibc;

atof produces the correct result on x64.

-- 
           Summary: atof returns the wrong number on x86.
           Product: glibc
           Version: 2.11
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: floitsch at google dot com
                CC: glibc-bugs at sources dot redhat dot com


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

------- 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] 2+ messages in thread

* [Bug libc/11877] atof returns the wrong number on x86.
  2010-08-04  9:32 [Bug libc/11877] New: atof returns the wrong number on x86 floitsch at google dot com
@ 2010-09-02 16:24 ` schwab at linux-m68k dot org
  0 siblings, 0 replies; 2+ messages in thread
From: schwab at linux-m68k dot org @ 2010-09-02 16:24 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From schwab at linux-m68k dot org  2010-09-02 16:24 -------


*** This bug has been marked as a duplicate of 3479 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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

------- 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] 2+ messages in thread

end of thread, other threads:[~2010-09-02 16:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-04  9:32 [Bug libc/11877] New: atof returns the wrong number on x86 floitsch at google dot com
2010-09-02 16:24 ` [Bug libc/11877] " schwab at linux-m68k dot org

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