You're viewing version 1.2.0 of bit-and-not. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16



  • (bit-and-not x y)
Bitwise and with complement

1 Example top

  • user=> (bit-and-not 2r1100 2r1001) ; (and X (not Y))
    ;; 4 = 2r0100
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:1049 top

(defn bit-and-not
  "Bitwise and with complement"
  {:added "1.0"}
  [x y] (. clojure.lang.Numbers andNot x y))
Vars in clojure.core/bit-and-not: defn
Used in 0 other vars

Comments top

No comments for bit-and-not. Log in to add a comment.