in reply to Displaying bit-vectors with Most Significant Bits to the left?
but there must be a better way thanDB<184> p reverse unpack ('B8B8',$m0) 0000011100000101 DB<185>
Sure, since unpack 'B8B8' yields a list with 2 bytes. I'd say
DB<185> p reverse unpack 'b16',$m0 0000011100000101 DB<186>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Displaying bit-vectors with Most Significant Bits to the left?
by LanX (Saint) on Jan 05, 2020 at 14:57 UTC | |
by shmem (Chancellor) on Jan 05, 2020 at 17:11 UTC | |
by LanX (Saint) on Jan 05, 2020 at 17:14 UTC | |
by shmem (Chancellor) on Jan 05, 2020 at 17:28 UTC | |
by AnomalousMonk (Archbishop) on Jan 05, 2020 at 18:39 UTC |