hex.add (arity 2)ΒΆ
dst += src
both dst,src are hexes.
Relies on the add-carry, and updates it at the end.
SignatureΒΆ
def add dst, src < .add.dst { ... }
Defined in hex/math.fj β lines 12β14 (view on GitHub).
ComplexityΒΆ
Time:
4@+12Space:
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ΒΆ
Click to view the macro body
def add dst, src < .add.dst {
.tables.jump_to_table_entry dst, src, .add.dst
}
Depends onΒΆ
Next: hex.add/3 β