Common math functions for Clojure