treat lnum and rnum as signed integer when performing binary bitwise operations