bit.not (arity 2)ΒΆ

dst[:n] ^= (1<<n)-1
dst is bit[:n]

SignatureΒΆ

def not n, dst { ... }

Defined in bit/logics.fj β€” lines 118–120 (view on GitHub).

ComplexityΒΆ

  • Time: n

  • Space: n

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

SourceΒΆ

Used byΒΆ

Example usesΒΆ


← Previous: bit.not/1 Next: bit.exact_not β†’