bit.xor (arity 3)ΒΆ
dst[:n] ^= src[:n]
dst,src are bit[:n].
SignatureΒΆ
def xor n, dst, src { ... }
Defined in bit/logics.fj β lines 15β17 (view on GitHub).
ComplexityΒΆ
Time:
n(@-1)Space:
n(@-1)
See the complexity glossary for what @, w, dw, dbit, n mean.
SourceΒΆ
Click to view the macro body
def xor n, dst, src {
rep(n, i) .xor dst+dw*i, src+dw*i
}
Used byΒΆ
Example usesΒΆ
bit.print_dec_uintinbit/output.fjbit.dec2asciiinbit/casting.fjbit.hex2asciiinbit/casting.fj
β Previous: bit.xor/2
Next: bit.exact_xor β