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ΒΆ
Click to view the macro body
def step hex, end @ next {
..dec1 hex, end, next
next:
}