File: lshift

package info (click to toggle)
ucblogo 6.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 7,560 kB
  • ctags: 4,657
  • sloc: ansic: 16,989; cpp: 3,818; makefile: 187; perl: 3
file content (7 lines) | stat: -rw-r--r-- 174 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
LSHIFT num1 num2

	outputs "num1" logical-shifted to the left by "num2" bits.
	If num2 is negative, the shift is to the right with zero fill.
	The inputs must be integers.