unchecked-long

clojure.core

  • (unchecked-long x)
Coerce to long. Subject to rounding or 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:3133 top

(defn unchecked-long
  "Coerce to long. Subject to rounding or truncation."
  {:inline (fn  [x] `(. clojure.lang.RT (uncheckedLongCast ~x)))
   :added "1.3"}
  [^Number x] (clojure.lang.RT/uncheckedLongCast x))
Vars in clojure.core/unchecked-long:
Used in 0 other vars

Comments top

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