ANN: ILog2.jl

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

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

4 Likes