LSHIFT

Synopsis
LSHIFT int amount
Description

Outputs int shifted logically to the left by amount bits. If amount is negative, the shift is to the right with zero fill. The inputs must be integers.

Example
SHOW LSHIFT 5 2
20
SHOW LSHIFT 20 -1
10
SHOW LSHIFT -20 -1
2147183638

SourceForge.net Logo