1.3.0 permalink Arrow_down_16x16

unchecked-inc-int

clojure.core

  • (unchecked-inc-int x)
Returns a number one greater than x, an 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:1084 top

(defn unchecked-inc-int
  "Returns a number one greater than x, an int.
  Note - uses a primitive operator subject to overflow."
  {:inline (fn [x] `(. clojure.lang.Numbers (unchecked_int_inc ~x)))
   :added "1.0"}
  [x] (. clojure.lang.Numbers (unchecked_int_inc x)))
Vars in clojure.core/unchecked-inc-int:
Used in 0 other vars

Comments top

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