hex.dec.stepΒΆ

One nibble of a propagating decrement: decrement hex by 1; on underflow continue to the next nibble, else jump to end.

SignatureΒΆ

def step hex, end @ next { ... }

Defined in hex/math_basic.fj β€” lines 182–185 (view on GitHub).

ComplexityΒΆ

  • Time: @

  • Space: 1.5@+13

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

SourceΒΆ

Depends onΒΆ


← Previous: hex.dec Next: hex.neg β†’