store/[org.clojure/clojure "1.8.0"] clj::clojure.core/bit-and-not

Official Documentation

Add notes
Arities
==================================================
   [x y]
   [x y & more]

Docstring
==================================================
  Bitwise and with complement

Source

(defn bit-and-not
  "Bitwise and with complement"
  {:inline (nary-inline 'andNot)
   :inline-arities >1?
   :added "1.0"
   :static true}
  ([x y] (. clojure.lang.Numbers andNot x y))
  ([x y & more]
    (reduce1 bit-and-not (bit-and-not x y) more)))

Example 1

Edit
(bit-and-not 2r1100 2r1001) ; (and X (not Y))
;; => 4
;; 4 = 2r0100

Uses on crossclj