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

Official Documentation

Add notes
Arities
==================================================
   [x n]

Docstring
==================================================
  Clear bit at index n

Source

(defn bit-clear
  "Clear bit at index n"
  {:added "1.0"
   :static true}
  [x n] (. clojure.lang.Numbers clearBit x n))

Example 1

Edit
(bit-clear 2r1011 3) ; index is 0-based
;; => 3 

;; 3 = 2r0011

;; the same in decimal
(bit-clear 11 3) 
;; => 3

Uses on crossclj