Return to Snippet

Revision: 57480
at May 28, 2012 18:25 by ef


Initial Code
(defn log2 [n]
  (/ (Math/log n) (Math/log 2)))

Initial URL

                                

Initial Description
Implementation of base2 logarithm

Initial Title
Logarithm with base 2 (log2)

Initial Tags

                                

Initial Language
Clojure