chickadee » srfi-60 » log2-binary-factors

log2-binary-factors nprocedure
first-set-bit nprocedure

Returns the number of factors of two of integer n. This value is also the bit-index of the least-significant 1-bit in n.