Anonymous user
Bitwise operations: Difference between revisions
no edit summary
m (Fixed lang tags.) |
No edit summary |
||
Line 237:
// there are no rotation operators in C++
}</lang>
=={{header|Clojure}}==
<lang lisp>(bit-and x y)
(bit-or x y)
(bit-xor x y)
(bit-not x)
(bit-shift-left x n)
(bit-shift-right x n)
;;There is no built-in for rotation.</lang>
=={{header|Common Lisp}}==
|