1Elm.Native.Bitwise = {};
2Elm.Native.Bitwise.make = function(elm) {
3 elm.Native = elm.Native || {};
4 elm.Native.Bitwise = elm.Native.Bitwise || {};
5 if (elm.Native.Bitwise.values) return elm.Native.Bitwise.values;
7 function and(a,b) { return a & b; }
8 function or (a,b) { return a | b; }
9 function xor(a,b) { return a ^ b; }
10 function not(a) { return ~a; }
11 function sll(a,offset) { return a << offset; }
12 function sra(a,offset) { return a >> offset; }
13 function srl(a,offset) { return a >>> offset; }
15 return elm.Native.Bitwise.values = {
21 shiftRightArithmatic: F2(sra),
22 shiftRightLogical : F2(srl)
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list