This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/27904] operator>> to floating point variable does not support "inf", "infinity", or "nan"
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jun 2006 23:15:57 -0000
- Subject: [Bug libstdc++/27904] operator>> to floating point variable does not support "inf", "infinity", or "nan"
- References: <bug-27904-1313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from pcarlini at suse dot de 2006-06-05 23:15 -------
(In reply to comment #8)
> (In reply to comment #6)
> It just seems bogus that it says %g and then goes on to do something different
> and not to take into account that strlod is allowed more than just the
> characters specified.
Maybe. But what do the specifications of strtod **exactly** say in C90 (the
reference for C++03)?
> The other problem I see with the current specification is what happens if you
> have one of the other UTF-8 number systems also, it seems like it is going to
> break at the same time?
Remember the widening.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27904