mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-04 11:10:15 +00:00
80 lines
2.6 KiB
Text
80 lines
2.6 KiB
Text
*** Unsigned values ***
|
|
240 :11110000
|
|
65280 :1111111100000000
|
|
4294901760 :11111111111111110000000000000000
|
|
18446744069414584320 :1111111111111111111111111111111100000000000000000000000000000000
|
|
Rotating left by 5
|
|
225 :11110
|
|
65025 :1110000000011111
|
|
4294836225 :11111111111000000000000000011111
|
|
18446744065119617025 :1111111111111111111111111110000000000000000000000000000000011111
|
|
Rotating right by 5
|
|
120 :10000111
|
|
32640 :11111111000
|
|
2147450880 :111111111111111100000000000
|
|
9223372034707292160 :11111111111111111111111111111111000000000000000000000000000
|
|
Rotating left past size
|
|
225 :11100001
|
|
65025 :1111111000000001
|
|
4294836225 :11111111111111100000000000000001
|
|
18446744065119617025 :1111111111111111111111111111111000000000000000000000000000000001
|
|
Rotating right past size
|
|
120 :1111000
|
|
32640 :111111110000000
|
|
2147450880 :1111111111111111000000000000000
|
|
9223372034707292160 :111111111111111111111111111111110000000000000000000000000000000
|
|
Rotating left by -5
|
|
225 :10000111
|
|
65025 :11111111000
|
|
4294836225 :111111111111111100000000000
|
|
18446744065119617025 :11111111111111111111111111111111000000000000000000000000000
|
|
Rotating right by -5
|
|
120 :11110
|
|
32640 :1110000000011111
|
|
2147450880 :11111111111000000000000000011111
|
|
9223372034707292160 :1111111111111111111111111110000000000000000000000000000000011111
|
|
*** Signed values ***
|
|
-128 :10000000
|
|
-32768 :1000000000000000
|
|
-2147483648 :10000000000000000000000000000000
|
|
-9223372036854775808 :1000000000000000000000000000000000000000000000000000000000000000
|
|
Rotating left by 5
|
|
1 :10000
|
|
1 :10000
|
|
1 :10000
|
|
1 :10000
|
|
Rotating right by 5
|
|
64 :100
|
|
16384 :10000000000
|
|
1073741824 :100000000000000000000000000
|
|
4611686018427387904 :10000000000000000000000000000000000000000000000000000000000
|
|
Rotating left past size
|
|
1 :1
|
|
1 :1
|
|
1 :1
|
|
1 :1
|
|
Rotating right past size
|
|
64 :1000000
|
|
16384 :100000000000000
|
|
1073741824 :1000000000000000000000000000000
|
|
4611686018427387904 :100000000000000000000000000000000000000000000000000000000000000
|
|
Rotating left by -5
|
|
1 :100
|
|
1 :10000000000
|
|
1 :100000000000000000000000000
|
|
1 :10000000000000000000000000000000000000000000000000000000000
|
|
Rotating right by -5
|
|
64 :10000
|
|
16384 :10000
|
|
1073741824 :10000
|
|
4611686018427387904 :10000
|
|
*** Rotating some numeric literals left by 5 ***
|
|
240 :11110
|
|
65280 :1110000000011111
|
|
4294901760 :11111111111000000000000000011111
|
|
18446744069414584320 :1111111111111111111111111110000000000000000000000000000000011111
|
|
*** Rotating some numeric literals right by 5 ***
|
|
240 :10000111
|
|
65280 :11111111000
|
|
4294901760 :111111111111111100000000000
|
|
18446744069414584320 :11111111111111111111111111111111000000000000000000000000000
|