hex.and (arity 3)¶
dst[:n] &= src[:n]
Signature¶
def and n, dst, src { ... }
Defined in hex/logics.fj — lines 326–328 (view on GitHub).
Complexity¶
Time:
n(4@+10)Space:
n(4@+52)
See the complexity glossary for what @, w, dw, dbit, n mean.
Requires init¶
The following must be initialised before this macro is invoked:
hex.and.init (or hex.init)
Source¶
Click to view the macro body
def and n, dst, src {
rep(n, i) .and dst+i*dw, src+i*dw
}
← Previous: hex.and/2
Next: hex.and.init →