bit.ptr_wflip_2nd_wordΒΆ

Effectively:  wflip (*ptr)+w, value
ptr is a bit[:w] that holds an address, which we assume is dw-aligned.

SignatureΒΆ

def ptr_wflip_2nd_word ptr, value { ... }

Defined in bit/pointers.fj β€” lines 132–136 (view on GitHub).

ComplexityΒΆ

  • Time: 3w@

  • Space: 3w@

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

Requires initΒΆ

The following must be initialised before this macro is invoked:

  • bit.pointers.ptr_init

SourceΒΆ

Depends onΒΆ

Used byΒΆ

Example usesΒΆ


← Previous: bit.pointers.advance_by_one_and_flip__ptr_wflip Next: bit.xor_from_ptr β†’