mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-20 18:21:47 +03:00
7972c6acbd
* [ 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>
5 lines
81 B
Plaintext
Executable File
5 lines
81 B
Plaintext
Executable File
rm -rf build
|
|
|
|
$1 --no-banner --no-color --console-width 0 BitRotate.idr < input
|
|
|