Idris2/tests/base/data_bits002
CodingCellist 7972c6acbd
[ new ] Implement bit-rotation operators (#2903)
* [ new ] Implement bit-rotation operators

Whereas `shiftR` and `shiftL` throw bits off the edge, the `rotR` and
`rotL` operations wrap the bits around to the start of the bit-stream.

* [ test ] visualise bit patterns instead

* [ fix ] print bit patterns the right way around

---------

Co-authored-by: Guillaume Allais <guillaume.allais@ens-lyon.org>
2023-03-04 14:41:54 +00:00
..
BitRotate.idr [ new ] Implement bit-rotation operators (#2903) 2023-03-04 14:41:54 +00:00
expected [ new ] Implement bit-rotation operators (#2903) 2023-03-04 14:41:54 +00:00
input [ new ] Implement bit-rotation operators (#2903) 2023-03-04 14:41:54 +00:00
run [ new ] Implement bit-rotation operators (#2903) 2023-03-04 14:41:54 +00:00