hex.add (arity 3)

dst[:n] += src[:n]

Signature

def add n, dst, src { ... }

Defined in hex/math.fj — lines 20–24 (view on GitHub).

Complexity

  • Time: n(4@+12)

  • Space: n(4@+52)

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

Requires init

The following must be initialised before this macro is invoked:

  • hex.add.init (or hex.init)

Source

Depends on

Used by

Example uses


← Previous: hex.add/2 Next: hex.add_shifted