Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
f = (a, b) ->
|
||||
p "and", a & b
|
||||
p "or", a | b
|
||||
p "xor", a ^ b
|
||||
p "not", ~a
|
||||
p "<<", a << b
|
||||
p ">>", a >> b
|
||||
# no rotation shifts that I know of
|
||||
|
||||
p = (label, n) -> console.log label, n
|
||||
|
||||
f(10,2)
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
> coffee foo.coffee
|
||||
and 2
|
||||
or 10
|
||||
xor 8
|
||||
not -11
|
||||
<< 40
|
||||
>> 2
|
||||
Loading…
Add table
Add a link
Reference in a new issue