hex.mul10¶
x[n] *= 10
Signature¶
def mul10 n, x @ four, end { ... }
Defined in hex/mul.fj — lines 36–43 (view on GitHub).
Complexity¶
Time:
n(6@+27)Space:
n(5@+80)
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 mul10 n, x @ four, end {
.add_mul n, x, x, four
.shl_bit n, x
;end
four: hex.hex 4
end:
}
Depends on¶
Used by¶
Example uses¶
hex.input_dec_uintinhex/input.fjhex.input_dec_intinhex/input.fj
← Previous: hex.add_mul/4
Next: hex.mul →