Difference between revisions of "Lua:bShr"
Jump to navigation
Jump to search
(Created page with "<h2>bShr(int, int2) : Binary shift right</h2> <pre> -- 1 >> 1 print( bShr(1,1) ) -- 0 0001 ----- 0000 </pre>") |
|||
Line 3: | Line 3: | ||
-- 1 >> 1 | -- 1 >> 1 | ||
print( bShr(1,1) ) -- 0 | print( bShr(1,1) ) -- 0 | ||
+ | or | ||
+ | print(1 >> 1) | ||
0001 | 0001 |
Latest revision as of 23:30, 22 February 2021
bShr(int, int2) : Binary shift right
-- 1 >> 1 print( bShr(1,1) ) -- 0 or print(1 >> 1) 0001 ----- 0000