repo.or.cz
/
sixpic.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added an id to each byte-cell to use with bit vectors.
[sixpic.git]
/
tests
/
math
/
lshift.c
blob
e27576440401dbc5ee9dc9ff3ec9207d394812a0
1
// shift by literal multiples of 8
2
int16 x
=
15
;
3
int16 y
=
x
<<
8
;
4
int
z
=
y
+
2
;
5
z
=
z
<<
16
;
6
z
=
z
+
259
;
7
z
;