Bit inversion
From HandWiki
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
- ↑ "Bitwise NOT (~) - JavaScript | MDN" (in en-US). 2023-08-15. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Bitwise_NOT.
- ↑ "%BITNOT (Invert Bits)" (in en-us). 2023-04-11. https://www.ibm.com/docs/en/i/7.3?topic=functions-bitnot-invert-bits.
- ↑ "Invert actual bits of a number" (in en-US). 2018-05-18. https://www.geeksforgeeks.org/invert-actual-bits-number/.
- ↑ "~ - Arduino Reference". https://www.arduino.cc/reference/en/language/structure/bitwise-operators/bitwisenot/.
See also
- Bitwise operation
- Bit error
- Two's complement
Original source: https://en.wikipedia.org/wiki/Bit inversion.
Read more |