Update README.md

This commit is contained in:
bt3gl 2023-07-29 21:00:47 -07:00 committed by GitHub
parent f0c936fe6c
commit 24df4c93d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,6 +117,8 @@ Swap bit in place: (90, 144)
<br> <br>
* the complement is the number with respect to 2**n:
1. start with the equivalent positive number 1. start with the equivalent positive number
2. invert (or flip) all bits, changing every 0 to 1, and every 1 to 0 2. invert (or flip) all bits, changing every 0 to 1, and every 1 to 0
3. add 1 to the entire inverted number, ignoring overflow 3. add 1 to the entire inverted number, ignoring overflow