Data update
This commit is contained in:
parent
8e4e15fa56
commit
72eb4943cb
1853 changed files with 35514 additions and 9441 deletions
|
|
@ -1,9 +1,10 @@
|
|||
# numbers are doubles, bit operations use 32 bits and are unsigned
|
||||
x = 11
|
||||
y = 2
|
||||
print bitnot x
|
||||
print bitand x y
|
||||
print bitor x y
|
||||
print bitxor x y
|
||||
print bitshift x y
|
||||
print bitshift x -y
|
||||
# numbers are doubles, bit operations are unsigned, truncate
|
||||
# the fractional part and use 53 integer bits
|
||||
a = 14
|
||||
b = 3
|
||||
print bitand a b
|
||||
print bitor a b
|
||||
print bitxor a b
|
||||
print bitshift a b
|
||||
print bitshift a -b
|
||||
print bitand a bitnot b
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue