------- Additional Comments From pcarlini at suse dot de 2004-12-20 15:35
-------
Indeed, *it overflows*. Try changing you testcase like this:
istringstream s("+4E308");
s >> r;
if (!s.fail())
cout << r << endl;
What happens, is just that overflows and r is left unchanged; by chance, is
a very small number.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19091