highestBitMap: clean-room reimplementation
authorJohan Tibell <johan.tibell@gmail.com>
Thu, 13 Dec 2012 00:55:55 +0000 (16:55 -0800)
committerJohan Tibell <johan.tibell@gmail.com>
Thu, 13 Dec 2012 00:55:55 +0000 (16:55 -0800)
commit8a1e9be082d525f9373800921d3876809ea527d4
tree8d49b2200f92feb09bb7464b0affb916aff66825
parent54fc9fe187f5bf7930f5f3e5167a569d42b5d7dd
highestBitMap: clean-room reimplementation

Replaced the previous implementation due to licensing concerns. The new
implementation is a clean-room reimplementation by Clark Gaebel, based
on the public domain implementation at
http://graphics.stanford.edu/~seander/bithacks.html#RoundUpPowerOf2
Data/IntMap/Base.hs