With two's complement, flipping the "sign" bit will have the effect of subtracting the max negative value (if 1) or adding the max negative value (if 0).
In reply to Re^2: Flipping the Sign Bit in pack()'ed Value
by ikegami
in thread Flipping the Sign Bit in pack()'ed Value
by marinersk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |