bit.add1¶
Unsafe for dst==carry (but there is no reason in calling it that way)
{carry:dst} += src
dst,src,carry are bits.
Signature¶
def add1 dst, src, carry @ _src { ... }
Defined in bit/math.fj — lines 67–75 (view on GitHub).
Complexity¶
Time:
8@+14Space:
8@+14
See the complexity glossary for what @, w, dw, dbit, n mean.