[Bug libstdc++/20431] Out of range float inputs to cin get spurious values

2005-03-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-11 21:34 --- *** Bug 20433 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20431

[Bug libstdc++/20431] Out of range float inputs to cin get spurious values

2005-03-11 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-03-11 21:20 --- 1.39065e-309 is just a random bit pattern: a is uninitialized. Indeed, the input of 1.0e+309 fails, a is left untouched and afterwards cin.fail() is true. Ok. -- What|Removed |A