mirror of
https://github.com/brl/mutter.git
synced 2025-02-06 16:44:10 +00:00
5b2311aed7
This takes the simple algorithm from here: http://graphics.stanford.edu/~seander/bithacks.html#DetermineIfPowerOf2 This avoids a loop and is much faster.