chickadee » srfi-178 » bitvector-logical-shift

bitvector-logical-shift bvec count bitprocedure

Returns a bitvector equal in length to bvec containing the logical left shift (toward lower indices) when count ≥ 0 or the right shift (toward upper indices) when count < 0. Newly vacated elements are filled with bit.