function/macro | since v0.0-1798 | clojure.core/unchecked-divide-int | Edit |
(unchecked-divide-int x)
(unchecked-divide-int x y)
(unchecked-divide-int x y & more)
If no denominators are supplied, returns 1/numerator, else returns numerator divided by all of the denominators.
(defn ^number unchecked-divide-int
([x] (unchecked-divide-int 1 x))
([x y] (cljs.core/divide x y)) ;; FIXME: waiting on cljs.core//
([x y & more] (reduce unchecked-divide-int (unchecked-divide-int x y) more)))
(core/defmacro ^::ana/numeric unchecked-divide-int
([& xs] `(/ ~@xs)))