- bit-field-rotate i count start endprocedure
Returns i with the field cyclically permuted by count bits towards high-order.
Compatibility note: The R6RS analogue bitwise-rotate-bit-field uses the argument ordering i start end count.
(bit-field-rotate #b110 0 0 10) => #b110 (bit-field-rotate #b110 0 0 256) => #b110 (bit-field-rotate #x100000000000000000000000000000000 1 0 129) => 1 (bit-field-rotate #b110 1 1 2) => #b110 (bit-field-rotate #b110 1 2 4) => #b1010 (bit-field-rotate #b0111 -1 1 4) => #b1011