Boost logo

Boost :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2019-08-22 20:18:32


On Thu, Aug 22, 2019 at 2:37 PM Michael Caisse via Boost <
boost_at_[hidden]> wrote:

> Copying to dev ML.
>
> On 8/22/19 12:05, Gerald Wiltse via Boost-users wrote:
> >
> https://github.com/boostorg/intrusive/blob/develop/include/boost/intrusive/detail/math.hpp#L156-L158
>
> > Original sources:
> >
> http://stackoverflow.com/questions/11376288/fast-computing-of-log2-for-64-bit-integers
>
>

The original source of that one is <
http://graphics.stanford.edu/~seander/bithacks.html#IntegerLogLookup>.
Which is stated as "Individually, the code snippets here are in the public
domain (unless otherwise noted) ". I'm surprised the lawyers in this case
did not track that down.

-- 
-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams - http://robot-dreams.net

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk