bit.inc1ΒΆ
Unsafe for dst==carry (but there is no reason in calling it that way)
{carry:dst}++
carry,dst are bits.
SignatureΒΆ
def inc1 dst, carry @ continue { ... }
Defined in bit/math.fj β lines 10β13 (view on GitHub).
ComplexityΒΆ
Time:
2@+6Space:
2@+6
See the complexity glossary for what @, w, dw, dbit, n mean.
SourceΒΆ
Click to view the macro body
def inc1 dst, carry @ continue {
.inc.inc1_with_carry0_jump dst, carry, continue
continue:
}
Depends onΒΆ
Used byΒΆ
Example usesΒΆ
bit.add1inbit/math.fj
Next: bit.inc.inc1_with_carry0_jump β