------- 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 locales num_get<> (22.2.2.1) object to perform parsing the input stream data. The conversion occurs as if performed by the following code fragment:
22.2.2.1.2/5 says: For conversions to a floating type the specifier is %g. And then in the C standard: 7.19.6.2/12: a,e,f,g Matches an optionally signed floating-point number, infinity, or NaN, whose format is the same as expected for the subject sequence of the strtod function. The corresponding argument shall be a pointer to floating. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27904