Returns the negation of x, an int or long.
Note - uses a primitive operator subject to overflow.
Returns the difference of x and y, both int or long. Note - uses a
Returns the product of x and y, both int or long. Note - uses a pri
Returns the remainder of division of x by y, both int or long. Note
(defn unchecked-negate
"Returns the negation of x, an int or long.
Note - uses a primitive operator subject to overflow."
{:inline (fn [x] `(. clojure.lang.Numbers (unchecked_negate ~x)))
:added "1.0"}
[x] (. clojure.lang.Numbers (unchecked_negate x)))
Comments top
No comments for unchecked-negate. Log in to add a comment.