mirror of
https://github.com/urbit/shrub.git
synced 2024-12-15 04:22:48 +03:00
Use ++rev over ++swp, for safety.
This commit is contained in:
parent
004ac54d28
commit
23b177a3d2
@ -288,7 +288,7 @@
|
|||||||
%+ can 5
|
%+ can 5
|
||||||
%+ turn `(list @)`~[h4 h3 h2 h1 h0]
|
%+ turn `(list @)`~[h4 h3 h2 h1 h0]
|
||||||
:: endianness
|
:: endianness
|
||||||
|=(h=@ 1^(swp 3 h))
|
|=(h=@ 1^(rev 3 4 h))
|
||||||
=: a h0 aa h0
|
=: a h0 aa h0
|
||||||
b h1 bb h1
|
b h1 bb h1
|
||||||
c h2 cc h2
|
c h2 cc h2
|
||||||
|
Loading…
Reference in New Issue
Block a user