Boost logo

Boost Users :

Subject: Re: [Boost-users] About naming of integer log in base 2
From: John Maddock (boost.regex_at_[hidden])
Date: 2010-07-16 11:11:17


>> Also, does the function compute floor(log2(x)) or ceil(log2(x))?
>>
>>
> floor(log2(x))

So... how about "most_significant_bit" ?

John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net