bit.shl (arity 2)¶
x[:n] <<= 1
Signature¶
def shl n, x { ... }
Defined in bit/shifts.fj — lines 32–34 (view on GitHub).
Complexity¶
Time:
n(2@-1)Space:
n(2@-1)
See the complexity glossary for what @, w, dw, dbit, n mean.
Source¶
Click to view the macro body
def shl n, x {
.shl n, 1, x
}
Depends on¶
Used by¶
Example uses¶
bit.mul10inbit/mul.fjbit.mul_loopinbit/mul.fjbit.div_loopinbit/div.fj