hex.double_exact_xorΒΆ

{t3,t2,t1,t0} ^= src
{d3,d2,d1,d0} ^= src

t3,t2,t1,t0,d3,d2,d1,d0 are bit-addresses; src is hex.

SignatureΒΆ

def double_exact_xor t3, t2, t1, t0, d3, d2, d1, d0, src @ first_flip, second_flip, end { ... }

Defined in hex/logics.fj β€” lines 101–140 (view on GitHub).

ComplexityΒΆ

  • Time: @+4

  • Space: @+28

See the complexity glossary for what @, w, dw, dbit, n mean.

SourceΒΆ

Used byΒΆ

Example usesΒΆ


← Previous: hex.address_and_variable_xor Next: hex.address_and_variable_double_xor β†’