aShift

HC Arithmetic Bitwise Operations aShift
BitNot lShift

aShift num1 num2


outputs "num1" arithmetic-shifted to the left by "num2" bits. If num2 is negative, the shift is to the right with sign extension.

Examples:

aShift 1 1		;2  ;-)
aShift 2 -1		;1  ;-)
aShift -2 -1		;-1  ;-)
aShift [1 2 3][1 2 3]	;[2 8 24] ;-)

Reference:

BitNot lShift