Skip to content

Commit ef8cb6b

Browse files
amorriscodeberquist
authored andcommitted
Minor edit to the Bit Logic page (#578)
Just adds a missing y.
1 parent f0bf747 commit ef8cb6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contents/bitlogic/bitlogic.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ In the end, whenever we write code, all of the data structures we write are tran
55
That said, it's not always obvious how this happens, so let's start the simple case of integer numbers.
66

77
## Integers
8-
For integer numbers, 0 is still 0 and 1 is still 1; however, for 2, we need to use 2 digits because binary only has 0's and 1's. When we get to 4, we'll need 3 digits and when we get to 8, we'll need 4. Ever time we cross a power of 2, we'll need to add a new digit. Here's a table of the first 10 integers in binary:
8+
For integer numbers, 0 is still 0 and 1 is still 1; however, for 2, we need to use 2 digits because binary only has 0's and 1's. When we get to 4, we'll need 3 digits and when we get to 8, we'll need 4. Every time we cross a power of 2, we'll need to add a new digit. Here's a table of the first 10 integers in binary:
99

1010
| Integer Number | Binary Number |
1111
| -------------- | ------------- |

0 commit comments

Comments
 (0)