From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Murilo Adriano Vasconcelos Sent: Sunday, August 15, 2010 5:32 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] About naming of integer log in base 2 <big snip> That can be found in the docs: http://svn.boost.org/svn/boost/sandbox/SOC/2010/bits_and_ints/libs/integer/d... st_integer.bits_and_ints.integer_logarithm_base_2__ilog2_function__ Looking even smarter J Paul PS The speed of your brain is deceiving your fingers ;-) " retunrning -2" And beware that the way QuickBook works means that there is no protection from running out of the code boxes if line are too long. So, for example, this comment // Error in function boost::ilog2(i): ilog2 is indeterminate for value 0, returning -1 runs over the box (unless you reduce the font size to 2 pixels per char ;-) So it might be better on (or sometimes split onto) the next line?