ANN: ILog2.jl

Efficient integer valued base 2 logarithm.
ilog2(n::Real)

Compute the largest m such that 2^m <= n.

https://github.com/jlapeyre/ILog2.jl

4 Likes