1.3.0 permalink Arrow_down_16x16

unchecked-subtract-int

clojure.core

  • (unchecked-subtract-int x y)
Returns the difference of x and y, both int.
Note - uses a primitive operator subject to overflow.

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:1140 top

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

Comments top

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