ash[procedure] ash n count
ChezScheme, SLIB, Gauche, Guile: arithmetic shift
This is called arithmetic-shift in some implementations.
SISC have distinct left-shift and right-shift functions,
ashl and ashr.
Bigloo also has distinct functions, bit-lsh and bit-rsh.
Chez also has fxsra and fxsll for shifting fixnums.
See also logand, logior, logxor, lognot.
|