Use ++rev over ++swp, for safety.

This commit is contained in:
Fang 2018-06-29 13:08:58 +02:00
parent 004ac54d28
commit 23b177a3d2

View File

@ -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