encyclopegia.org

Bit inversion

In computing and telecommunications, bit inversion refers to the changing of the state of a bit or binary number to the opposite state, for example changing a 0 bit to 1 or vice versa.[src] It is often represented with a tilde (~).[src] It also refers to the changing of a state representing a given bit to the opposite state.[src]

In computing and telecommunications, bit inversion refers to the changing of the state of a bit or binary number to the opposite state, for example changing a 0 bit to 1 or vice versa.[src] It is often represented with a tilde (~).[src] It also refers to the changing of a state representing a given bit to the opposite state.[src] ==Usage in computing== Many popular programming languages implement bit inversion as an operation.[src] For example, in JavaScript, bit inversion is known as a 'bitwise NOT' and is implemented as seen below: var a = 2; var b = ~ a; In this example, a is a 32-bit signed integer and in binary would be .[src] Variable is the bit inversion of variable and equals (−3 in decimal).[src] In Python: >>> a = 2 >>> b = ~ a >>> b -3[src]

10 sentences · 10 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Bit inversion." encyclopegia.org, 2026, https://encyclopegia.org/wiki/bit-inversion. Accessed 26 November 2026.

Chicago

"Bit inversion." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/bit-inversion.

APA

encyclopegia.org. (2026). Bit inversion. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/bit-inversion

Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Zone bit recording

stub · references available

16-bit computing

stub · references available

curb bit

stub · references available

Park Bit-na

stub · references available

Wang Bit-na

stub · references available

Bit Adini

stub · references available

bit error

stub · references available

48-bit computing

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1378025641 · 0.5 · snapshot enwiki-001378025641

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.