math.rshift
Syntax
Get the result of a right bit shift. Shift i1 to the right by i2 bits. This is nearly equivalent to dividing i1 by {2}^i2.
i - bit shifted integer
i1 - integer to bit shift
i2 - amount to shift
math.round
math.sgn
9.2.16