bit.mul.mul_add_if¶
if flag: dst[:n] += src[:n] — conditional in-place add. flag is a bit.
Signature¶
def mul_add_if n, flag, dst, src @ end { ... }
Defined in bit/mul.fj — lines 78–82 (view on GitHub).
Complexity¶
Time:
n(8@+14)Space:
n(8@+14)
See the complexity glossary for what @, w, dw, dbit, n mean.
Source¶
Click to view the macro body
def mul_add_if n, flag, dst, src @ end {
..if0 flag, end
..add n, dst, src
end:
}
Depends on¶
← Previous: bit.mul