bit.div10ΒΆ

dst[:n], src[:n] = src[:n] / 10, src[:n] % 10.

SignatureΒΆ

def div10 n, dst, src @ zero, do_div, end { ... }

Defined in bit/div.fj β€” lines 4–14 (view on GitHub).

ComplexityΒΆ

  • Time: n(5@+11)

  • Space: n(5@+11)

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

SourceΒΆ

Depends onΒΆ

Used byΒΆ

Example usesΒΆ


Next: bit.div10.cmp_sub_10 β†’