$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] max value by the number of bits
From: Christian Henning (chhenning_at_[hidden])
Date: 2013-02-05 11:10:08
>> Yes. Thanks! It works but not for n = 64. It gives a wrong value:
>>
>> typedef boost::low_bits_mask_t<64> mask_t;
>> mask_t::least oo = mask_t::sig_bits;
>>
>> Does that work for you?
>
>
> Yes, I got 18446744073709551615
>
Damn, I used MS Calculator to see if all bits are set and I suppose
values in Calculator are of a signed type.
Of course, you're correct and it does work!
Sorry for the confusion,
Christian