bit-or

added
1.0

ns
clojure.core

type
function

(bit-or x y) (bit-or x y & more)

Bitwise or

                user=> (bit-or 2r1100 2r1001)
13
;; 13 = 2r1101

;; the same in decimal
user=> (bit-or 12 9)
13

            
                ;; here is the truth table for OR
(Integer/toBinaryString (bit-or 2r1100 2r1010) )
;;=> "1110"
;; or 2r1110