function/macro | since v0.0-1798 | clojure.core/unchecked-multiply | Edit |
(unchecked-multiply)
(unchecked-multiply x)
(unchecked-multiply x y)
(unchecked-multiply x y & more)
Returns the product of nums. (*) returns 1.
(defn ^number unchecked-multiply
([] 1)
([x] x)
([x y] (cljs.core/unchecked-multiply x y))
([x y & more] (reduce unchecked-multiply (cljs.core/unchecked-multiply x y) more)))
(core/defmacro ^::ana/numeric unchecked-multiply
([& xs] `(* ~@xs)))