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: New numeric_limits traits for C++-0x.


On 02/24/2010 03:44 PM, Paolo Carlini wrote:
>> This adds lowest() and max_digits10 to 
>>     
> Also, why __glibcxx_max_digits10 takes also RADIX, if you are always
> using it with __FLT_RADIX__?
>   
By the way, if you look at N1822, which I already had used as reference
for ext/numeric_traits.h, I think that the new max_digits10 trait can be
just:
   
    static const int max_digits10 = 2 + digits * 3010/10000;

Paolo.


   


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