Jump to content

Bit inversion

From Wikipedia, the free encyclopedia

In computing and telecommunications, bit inversion means the changing of the state of a bit or binary number to the opposite state, i.e. the changing of a 0 bit to 1 or of a 1 bit to 0.[1][2][3] It is often represented with a tilde (~).[4] It also refers to the changing of a state representing a given bit to the opposite state.

References

[edit]
  1. ^ "Bitwise NOT (~) - JavaScript | MDN". developer.mozilla.org. 2023-08-15. Retrieved 2023-10-17.
  2. ^ "%BITNOT (Invert Bits)". www.ibm.com. 2023-04-11. Retrieved 2023-10-17.
  3. ^ "Invert actual bits of a number". GeeksforGeeks. 2018-05-18. Retrieved 2023-10-17.
  4. ^ "~ - Arduino Reference". www.arduino.cc. Retrieved 2023-10-17.

See also

[edit]