unchecked-divide-int

clojure.core

  • (unchecked-divide-int x y)
Returns the division of x by y, both int.
Note - uses a primitive operator subject to truncation.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core.clj:1168 top

(defn unchecked-divide-int
  "Returns the division of x by y, both int.
  Note - uses a primitive operator subject to truncation."
  {:inline (fn [x y] `(. clojure.lang.Numbers (unchecked_int_divide ~x ~y)))
   :added "1.0"}
  [x y] (. clojure.lang.Numbers (unchecked_int_divide x y)))
Vars in clojure.core/unchecked-divide-int:
Used in 0 other vars

Comments top

No comments for unchecked-divide-int. Log in to add a comment.