Shift Operation
ash -- arithmetic shift (left)
(ash 1 10) --> 1024
(ash 255 -6) --> 3
Note that there is no assumption of integer size. You eventually get a bignum if you keep shifting left.
Previous slide
Next slide
Back to first slide
View graphic version