bit.arshift bit.arshift(x: number, n: number): number Arithmetic shift right, which keeps the sign bit rather than bringing in zeros.