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: [PATCH] Fix libstdc++/5045 (take3)


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


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