[Bug libstdc++/27904] operator to floating point variable does not support inf, infinity, or nan

2010-08-29 Thread paolo dot carlini at oracle dot com
--- Comment #15 from paolo dot carlini at oracle dot com 2010-08-29 10:23 --- *** Bug 45442 has been marked as a duplicate of this bug. *** -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug libstdc++/27904] operator to floating point variable does not support inf, infinity, or nan

2010-08-13 Thread paolo dot carlini at oracle dot com
--- Comment #14 from paolo dot carlini at oracle dot com 2010-08-13 18:39 --- *** Bug 45279 has been marked as a duplicate of this bug. *** -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug libstdc++/27904] operator to floating point variable does not support inf, infinity, or nan

2006-06-06 Thread pcarlini at suse dot de
--- Comment #11 from pcarlini at suse dot de 2006-06-06 09:36 --- (In reply to comment #10) In C90 strtod does not say anything specifically about inf, etc. However, it does say: In other than the C locale, additional implementation-defined subject sequence forms may be

[Bug libstdc++/27904] operator to floating point variable does not support inf, infinity, or nan

2006-06-06 Thread ian at airs dot com
--- Comment #12 from ian at airs dot com 2006-06-06 22:18 --- At this web page: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1568.htm I see this: The formatted input functions shall support the additional conversion specifications specified in C99 subclause 7.19.6.2.

[Bug libstdc++/27904] operator to floating point variable does not support inf, infinity, or nan

2006-06-06 Thread pcarlini at suse dot de
--- Comment #13 from pcarlini at suse dot de 2006-06-06 22:36 --- (In reply to comment #12) At this web page: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1568.htm I see this: The formatted input functions shall support the additional conversion specifications

[Bug libstdc++/27904] operator to floating point variable does not support inf, infinity, or nan

2006-06-05 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2006-06-05 21:16 --- This is not a bug, but standard conforming behavior (have a look to the specific sections in 22_locale describing in detail the parsing steps and the grammar). I'm even more sure about that because we discussed the issue

[Bug libstdc++/27904] operator to floating point variable does not support inf, infinity, or nan

2006-06-05 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-06-05 22:39 --- I don't think I agree. 27.6.1.2.2 says: As in the case of the inserters, these extractors depend on the locale’s num_get (22.2.2.1) object to perform parsing the input stream data. The conversion occurs as if

[Bug libstdc++/27904] operator to floating point variable does not support inf, infinity, or nan

2006-06-05 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2006-06-05 22:45 --- (In reply to comment #2) I don't think I agree. 27.6.1.2.2 says: As in the case of the inserters, these extractors depend on the locale’s num_get (22.2.2.1) object to perform parsing the input stream data. The

[Bug libstdc++/27904] operator to floating point variable does not support inf, infinity, or nan

2006-06-05 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug libstdc++/27904] operator to floating point variable does not support inf, infinity, or nan

2006-06-05 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-06-05 22:48 --- (In reply to comment #3) Read in detail Stage 2, 22.2.2.1.2, p8, + the grammar in 22.2.3.1, p2. + Icc (Dinkum) + Rogueware (in the person of Martin) agree. Really, given the current standard we cannot parse

[Bug libstdc++/27904] operator to floating point variable does not support inf, infinity, or nan

2006-06-05 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-06-05 22:49 --- Please take this up with the C++ standard since the two stages conflict. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/27904] operator to floating point variable does not support inf, infinity, or nan

2006-06-05 Thread pcarlini at suse dot de
--- Comment #6 from pcarlini at suse dot de 2006-06-05 22:55 --- (In reply to comment #5) Please take this up with the C++ standard since the two stages conflict. 22.2.2.1.2, p5, does not conflict, because the conversion using %g happens at the end of Stage 2, p9, on the accumulated

[Bug libstdc++/27904] operator to floating point variable does not support inf, infinity, or nan

2006-06-05 Thread pcarlini at suse dot de
--- Comment #7 from pcarlini at suse dot de 2006-06-05 22:57 --- (In reply to comment #6) (In reply to comment #5) Please take this up with the C++ standard since the two stages conflict. 22.2.2.1.2, p5, does not conflict, because the conversion using %g happens at the end of

[Bug libstdc++/27904] operator to floating point variable does not support inf, infinity, or nan

2006-06-05 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2006-06-05 23:04 --- (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. The other problem

[Bug libstdc++/27904] operator to floating point variable does not support inf, infinity, or nan

2006-06-05 Thread pcarlini at suse dot de
--- 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

[Bug libstdc++/27904] operator to floating point variable does not support inf, infinity, or nan

2006-06-05 Thread ian at airs dot com
--- Comment #10 from ian at airs dot com 2006-06-06 04:11 --- In C90 strtod does not say anything specifically about inf, etc. However, it does say: In other than the C locale, additional implementation-defined subject sequence forms may be accepted. In any case, to me this is a