Shifts a number right, preserving sign
This takes two arguments. The first is converted to signed 'long long' (64-bit integer), the second to unsigned 'long long' (64-bit unsigned integer). The first argument is shifted right the number of bits in the second argument.
See Also ...
bit.band - Bitwise 'and'
Lua base functions
(Help topic: lua=bit.ashr)
Enter a search string to find matching documentation.
Gammon Software support
Forum RSS feed ( https://gammon.com.au/rss/forum.xml )