public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/14519] New: Incorrect sign of zero on strtod underflow
@ 2012-08-25 15:36 jsm28 at gcc dot gnu.org
2012-08-27 16:14 ` [Bug libc/14519] " jsm28 at gcc dot gnu.org
2014-06-17 4:49 ` fweimer at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-08-25 15:36 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=14519
Bug #: 14519
Summary: Incorrect sign of zero on strtod underflow
Product: glibc
Version: 2.16
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: unassigned@sourceware.org
ReportedBy: jsm28@gcc.gnu.org
CC: drepper.fsp@gmail.com
Classification: Unclassified
strtod sometimes returns positive zero on underflow when it should return
negative zero. Testcase:
#include <stdio.h>
#include <stdlib.h>
int
main (void)
{
printf ("%a\n", atof ("-0x0.7p-1074"));
return 0;
}
Testing a patch.
--
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 libc/14519] Incorrect sign of zero on strtod underflow
2012-08-25 15:36 [Bug libc/14519] New: Incorrect sign of zero on strtod underflow jsm28 at gcc dot gnu.org
@ 2012-08-27 16:14 ` jsm28 at gcc dot gnu.org
2014-06-17 4:49 ` fweimer at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-08-27 16:14 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=14519
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-08-27 16:14:10 UTC ---
Fixed for 2.17 by:
commit 7efb4737dd729326e5339facbd785cee43fb53b3
Author: Joseph Myers <joseph@codesourcery.com>
Date: Mon Aug 27 16:04:19 2012 +0000
Fix sign of zero on strtod underflow (bug 14519).
--
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 libc/14519] Incorrect sign of zero on strtod underflow
2012-08-25 15:36 [Bug libc/14519] New: Incorrect sign of zero on strtod underflow jsm28 at gcc dot gnu.org
2012-08-27 16:14 ` [Bug libc/14519] " jsm28 at gcc dot gnu.org
@ 2014-06-17 4:49 ` fweimer at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2014-06-17 4:49 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=14519
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-17 4:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-25 15:36 [Bug libc/14519] New: Incorrect sign of zero on strtod underflow jsm28 at gcc dot gnu.org
2012-08-27 16:14 ` [Bug libc/14519] " jsm28 at gcc dot gnu.org
2014-06-17 4:49 ` 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).