signed nibble

Adam D. Ruppe destructionator at gmail.com
Mon Jan 7 18:47:04 UTC 2019


On Monday, 7 January 2019 at 18:42:13 UTC, Patrick Schluter wrote:
> byte b = nibble | ((nibble & 0x40)?0xF0:0);

don't you mean & 0x80 ?


More information about the Digitalmars-d-learn mailing list