hex.mul.clear_carry

Reset the per-multiplication carry-tracking variable to zero. Called by hex.add_mul at the start and end of each addition step (and transitively by hex.mul through hex.add_mul).

Signature

def clear_carry @ return < .ret, .add_carry_dst { ... }

Defined in hex/mul.fj — lines 91–98 (view on GitHub).

Complexity

  • Time: 3@+1

  • Space: 3@+1

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

Source

Depends on

Used by

Example uses


← Previous: hex.mul Next: hex.mul.init