Gitly
English
Русский
Español
日本語
中文
Português
Log in
Register
v2
/
vlib
/
v
/
slow_tests
/
repl
/
infix_shift_op.repl
17
lines
·
17
sloc
·
213 bytes
·
48ab08c20608c896cf7d60090437112d5aeb0cf6
Raw
1
4 >> 1
2
4 << 1
3
println(4 >> 1)
4
println(4 << 1)
5
typeof(4 >> 1).name
6
typeof(4 << 1).name
7
println(typeof(4 >> 1).name)
8
println(typeof(4 << 1).name)
9
===output===
10
2
11
8
12
2
13
8
14
int literal
15
int literal
16
int literal
17
int literal
18