bit.dec

x[:n]--
x is a bit[:n]

Signature

def dec n, x { ... }

Defined in bit/math.fj — lines 47–51 (view on GitHub).

Complexity

  • Time: 2n + 5@+12

  • Space: n(2@+6)

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

Source

Depends on

Used by

Example uses


← Previous: bit.inc Next: bit.neg