in reply to Re: Flipping partial bits
in thread Flipping partial bits
for my $x (0..0xff) { my $y = ( $x & 0x80 ) ? -($x ^ 0xff) : $x; say "$x $y" }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Flipping partial bits
by haukex (Archbishop) on Nov 14, 2020 at 12:08 UTC |