hex.shr_bit

dst[:n] >>= 1

Signature

def shr_bit n, dst { ... }

Defined in hex/shifts.fj — lines 17–20 (view on GitHub).

Complexity

  • Time: n(@+1)

  • Space: n(@+28)

See the complexity glossary for what @, w, dw, dbit, n mean.

Source

Depends on

Used by

Example uses


← Previous: hex.shl_bit Next: hex.shl_hex/2