user=> (bit-not 2r0111) -8 user=> (bit-not -2r1000) 7
(defn bit-not "Bitwise complement" {:inline (fn [x] `(. clojure.lang.Numbers (not ~x))) :added "1.0"} [x] (. clojure.lang.Numbers not x))
Comments top
No comments for bit-not. Log in to add a comment.