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.

Used by¶