package rhythm

  1. Overview
  2. Docs
val log2 : int -> int

* Computes the floor of the log base 2 of an integer. This is very quick using * bit-shifting. * * http://aggregate.org/MAGIC/#Log2%20of%20an%20Integer