getMsbit

Undocumented in source.
pure nothrow @safe @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