mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-12 15:01:38 +03:00
use rev for flip
This commit is contained in:
parent
42fc1ec631
commit
16d97f4084
@ -228,9 +228,7 @@
|
||||
++ flip
|
||||
|= b=byts
|
||||
^- byts
|
||||
:- wid.b
|
||||
%+ lsh [3 (sub wid.b (met 3 dat.b))]
|
||||
(swp 3 dat.b)
|
||||
[wid.b (rev 3 b)]
|
||||
:: Converts a list of bits to a list of n-bit numbers
|
||||
:: input-bits should be big-endian
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user