hex.zero (arity 2)¶
x[:n] = 0
Signature¶
def zero n, x { ... }
Defined in hex/memory.fj — lines 44–46 (view on GitHub).
Complexity¶
Time:
n@Space:
n(@+12)
See the complexity glossary for what @, w, dw, dbit, n mean.
Source¶
Click to view the macro body
def zero n, x {
rep (n, i) .zero x+i*dw
}
Used by¶
Example uses¶
stl.bit2hexincasting.fjhex.movinhex/memory.fjhex.count_bitsinhex/math_basic.fj
← Previous: hex.zero/1
Next: hex.mov/2 →