hex.inc¶
hex[:n]++
Signature¶
def inc n, hex @ end { ... }
Defined in hex/math_basic.fj — lines 130–133 (view on GitHub).
Complexity¶
Time:
1.067@ // It's on average. To be exact: 16/15 * @.Space:
n(1.5@+13)
See the complexity glossary for what @, w, dw, dbit, n mean.
Source¶
Click to view the macro body
def inc n, hex @ end {
rep(n, i) .inc.step hex+i*dw, end
end:
}
Used by¶
Example uses¶
hex.add_count_bitsinhex/math_basic.fjhex.neginhex/math_basic.fjhex.idivinhex/div.fj
← Previous: hex.inc1
Next: hex.inc.step →