1.3.0 permalink Arrow_down_16x16

unchecked-dec-int

clojure.core

  • (unchecked-dec-int x)
Returns a number one less 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:1098 top

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

Comments top

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