getMsbit

Undocumented in source.
@safe pure nothrow @nogc
alias getMsbit = getHighestBit

Examples

const ubyte x = 1;
assert(!x.getTopBit);
assert(x.getLowestBit);
const ubyte x = 128;
assert(x.getTopBit);
assert(!x.getLowestBit);

Meta