hex/mul.fj¶
Macros¶
hex¶
hex.add_mul/2—res += x * dst + carry_dst— one shift-and-add (multiply-accumulate) step used byhex.mul. Reads/writes the global multiplication carry.hex.add_mul/4—res[n] += a[n] * b[1]hex.mul10—x[n] *= 10hex.mul—for n==b/2: n^2(5.5@+20)
hex.mul¶
hex.mul.clear_carry— Reset the per-multiplication carry-tracking variable to zero. Called byhex.add_mulat the start and end of each addition step (and …hex.mul.init—dst[1]is zeroed after finishing this multiplication.