ClojureDocs

Nav

Namespaces

Take the 2026 State of Clojure Survey! Help shape the future of Clojure — open through Nov 30. Take Survey →
core.async
core.logic
data.csv
spec.alpha
tools.build
  • clojure
tools.deps

log10

clojure.math

Available since 1.11 (source)
  • (log10 a)
Returns the logarithm (base 10) of a.
If a is ##NaN or negative => ##NaN
If a is ##Inf => ##Inf
If a is zero => ##-Inf
See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#log10-double-