public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/274] New: The function strtold() does not work as expected
@ 2004-07-20 19:56 ivprimi at libero dot it
2004-07-20 19:59 ` [Bug libc/274] " ivprimi at libero dot it
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: ivprimi at libero dot it @ 2004-07-20 19:56 UTC (permalink / raw)
To: glibc-bugs
The function strtold() can fail in converting strings which represent floating
numbers with more than 19 meaningful digits after the radix character. For
instance, the instruction
x = strtold ("42.0000000000000000001", &endptr);
will put in x the value 42, while after
x = strtold ("42.00000000000000000001", &endptr);
or
x = strtold ("42.0000000000000000000001", &endptr);
x will be equal to zero !
--
Summary: The function strtold() does not work as expected
Product: glibc
Version: 2.3.2
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: gotom at debian dot or dot jp
ReportedBy: ivprimi at libero dot it
CC: glibc-bugs at sources dot redhat dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=274
------- 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] 5+ messages in thread
* [Bug libc/274] The function strtold() does not work as expected
2004-07-20 19:56 [Bug libc/274] New: The function strtold() does not work as expected ivprimi at libero dot it
@ 2004-07-20 19:59 ` ivprimi at libero dot it
2004-07-20 20:25 ` jakub at redhat dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: ivprimi at libero dot it @ 2004-07-20 19:59 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From ivprimi at libero dot it 2004-07-20 19:59 -------
Created an attachment (id=136)
--> (http://sources.redhat.com/bugzilla/attachment.cgi?id=136&action=view)
It is a simple test showing how the function strtold() can fail
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=274
------- 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] 5+ messages in thread
* [Bug libc/274] The function strtold() does not work as expected
2004-07-20 19:56 [Bug libc/274] New: The function strtold() does not work as expected ivprimi at libero dot it
2004-07-20 19:59 ` [Bug libc/274] " ivprimi at libero dot it
@ 2004-07-20 20:25 ` jakub at redhat dot com
2004-07-22 7:24 ` pere at hungry dot com
2004-07-22 23:59 ` gotom at debian dot or dot jp
3 siblings, 0 replies; 5+ messages in thread
From: jakub at redhat dot com @ 2004-07-20 20:25 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From jakub at redhat dot com 2004-07-20 20:25 -------
Verified (though on ia32 only, on x86-64 it works just fine). Debugging...
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
http://sources.redhat.com/bugzilla/show_bug.cgi?id=274
------- 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] 5+ messages in thread
* [Bug libc/274] The function strtold() does not work as expected
2004-07-20 19:56 [Bug libc/274] New: The function strtold() does not work as expected ivprimi at libero dot it
2004-07-20 19:59 ` [Bug libc/274] " ivprimi at libero dot it
2004-07-20 20:25 ` jakub at redhat dot com
@ 2004-07-22 7:24 ` pere at hungry dot com
2004-07-22 23:59 ` gotom at debian dot or dot jp
3 siblings, 0 replies; 5+ messages in thread
From: pere at hungry dot com @ 2004-07-22 7:24 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From pere at hungry dot com 2004-07-22 07:24 -------
A patch to fix this was submitted to the glibc maintainers in
<URL: http://sources.redhat.com/ml/libc-hacker/2004-07/msg00042.html >.
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=274
------- 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] 5+ messages in thread
* [Bug libc/274] The function strtold() does not work as expected
2004-07-20 19:56 [Bug libc/274] New: The function strtold() does not work as expected ivprimi at libero dot it
` (2 preceding siblings ...)
2004-07-22 7:24 ` pere at hungry dot com
@ 2004-07-22 23:59 ` gotom at debian dot or dot jp
3 siblings, 0 replies; 5+ messages in thread
From: gotom at debian dot or dot jp @ 2004-07-22 23:59 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From gotom at debian dot or dot jp 2004-07-22 23:59 -------
Jakub fixed this bug.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://sources.redhat.com/bugzilla/show_bug.cgi?id=274
------- 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] 5+ messages in thread
end of thread, other threads:[~2004-07-22 23:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-20 19:56 [Bug libc/274] New: The function strtold() does not work as expected ivprimi at libero dot it
2004-07-20 19:59 ` [Bug libc/274] " ivprimi at libero dot it
2004-07-20 20:25 ` jakub at redhat dot com
2004-07-22 7:24 ` pere at hungry dot com
2004-07-22 23:59 ` gotom at debian dot or dot jp
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).