This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Poor me... (was: Re: [PATCH, RFA] Reworked fix for PR4402)


On Sun, Dec 02, 2001 at 01:26:40AM +0100, Paolo Carlini wrote:
> of course there is *no* grouping at all for float types... 
> (see, f.i., Langer/Kreft 571-572).   May I say that I have 
> been a little bit sidetracked by the comment at the beginning of
> _M_widen_float?

Not so fast.  The restriction of grouping to integer types is 
manifestly a typo in the standard, and the subject of a Defect 
Report.  Since the standard unambiguously requires parsing
separators in floats, there's little room to argue that the
restriction was intended and understood by the comittee.

(Apparently Plauger noticed the typo before the standard was
ratified, but kept quiet about it because it made less work
for himself.  Now he is arguing that because he implemented it
that way, it shouldn't be fixed.  However, since he also failed 
to implement parsing and will be obliged to fix that, his position 
is weak.)

Nathan Myers
ncm at cantrip dot org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]