简单类型 / 数字 / 数学运算

(def number 512.0)
(def log-base 8.0)

;; there is no log with a base, it is built from the natural one
(def result (/ (Math/log number) (Math/log log-base)))
;; result is 3.0

(println "result is" result)
(println "natural log of e is" (Math/log Math/E))