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

Depends on

Used by

Example uses


← Previous: bit.shra Next: bit.shl/3