hex.or (arity 3)¶
dst[:n] |= src[:n]
Signature¶
def or n, dst, src { ... }
Defined in hex/logics.fj — lines 276–278 (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.or.init (or hex.init)
Source¶
Click to view the macro body
def or n, dst, src {
rep(n, i) .or dst+i*dw, src+i*dw
}
← Previous: hex.or/2
Next: hex.or.init →