hex.shifts.shl_bit_once¶
{next(1bit),dst(1hex)} = dst << 1
next is the bit-address of the next msb, dst is a hex.
@note, this should be called in reverse order (so that the “next” is already shifted).
Signature¶
def shl_bit_once dst, next @ switch, xor_by, end { ... }
Defined in hex/shifts.fj — lines 68–79 (view on GitHub).
Complexity¶
Time:
@+1Space:
@+28
See the complexity glossary for what @, w, dw, dbit, n mean.