math.sgn
Syntax
Get the sign. If n < 0, then rn = -1, otherwise rn = 1.
rn - -1 or 1
n - number
math.rshift
math.sin
9.1.13