[PATCH] Fix libstdc++/5045 (take3)

Ross Smith r-smith@ihug.co.nz
Tue Dec 11 11:01:00 GMT 2001


Philip Martin wrote:
> 
> Paolo Carlini <pcarlini@unitus.it> writes:
> 
> > Well, that is for <bool>, right? In that case I think std_limits.h (please check!) ends up setting
> > 1 digit anyway.
> 
> Of course, I see now, it's the only case where digits10 is not just
> the number of digits that can be represented without change, it's also
> the maximum number of digits.

For bool, digits10 should be 0, shouldn't it?

-- 
Ross Smith ...................................... Auckland, New Zealand
r-smith@ihug.co.nz ......................... http://storm.net.nz/~ross/
  "We need a new cosmology. New gods. New sacraments. Another drink."
                                                       -- Patti Smith



More information about the Libstdc++ mailing list