store/[org.clojure/clojure "1.8.0"] clj::clojure.core/*

Official Documentation

Add notes
Arities
==================================================
   []
   [x]
   [x y]
   [x y & more]

Docstring
==================================================
  Returns the product of nums. (*) returns 1. Does not auto-promote
  longs, will throw on overflow. See also: *'

Source

(defn *
  "Returns the product of nums. (*) returns 1. Does not auto-promote
  longs, will throw on overflow. See also: *'"
  {:inline (nary-inline 'multiply 'unchecked_multiply)
   :inline-arities >1?
   :added "1.2"}
  ([] 1)
  ([x] (cast Number x))
  ([x y] (. clojure.lang.Numbers (multiply x y)))
  ([x y & more]
     (reduce1 * (* x y) more)))

Example 1

Edit
(* 6)
;; => 6

(* 2 3)
;; => 6

(* 2 3 4)
;; => 24

(* 0.5 200)
;; => 100.0

(* 1234567890 9876543210)
;; => ArithmeticException integer overflow

Uses on crossclj