vault backup: 2025-01-27 17:42:39
This commit is contained in:
parent
951d27ba85
commit
5a86cf372a
@ -36,18 +36,18 @@ Repeatedly divide by 2, and track the remainder.
|
|||||||
|
|
||||||
As an example, the below table shows how one might convert from $(857)_{10}$ to base 2.
|
As an example, the below table shows how one might convert from $(857)_{10}$ to base 2.
|
||||||
|
|
||||||
| Equation | Remainder |
|
| Equation | Remainder | |
|
||||||
| --------------- | --------- |
|
| --------------- | --------- | --- |
|
||||||
| $857 / 2 = 428$ | $1$ |
|
| $857 / 2 = 428$ | $1$ | |
|
||||||
| $428 / 2 = 214$ | $0$ |
|
| $428 / 2 = 214$ | $0$ | |
|
||||||
| $214 / 2 = 107$ | $0$ |
|
| $214 / 2 = 107$ | $0$ | |
|
||||||
| $107 / 2 = 53$ | $1$ |
|
| $107 / 2 = 53$ | $1$ | |
|
||||||
| $53 / 2 = 26$ | $1$ |
|
| $53 / 2 = 26$ | $1$ | |
|
||||||
| $26 / 2 = 13$ | $0$ |
|
| $26 / 2 = 13$ | $0$ | |
|
||||||
| $13 / 2 = 6$ | $1$ |
|
| $13 / 2 = 6$ | $1$ | |
|
||||||
| $6 / 2 = 3$ | $0$ |
|
| $6 / 2 = 3$ | $0$ | |
|
||||||
| $3 / 2 = 1$ | $1$ |
|
| $3 / 2 = 1$ | $1$ | |
|
||||||
| $1 / 2 = 0$ | $1$ |
|
| $1 / 2 = 0$ | $1$ | |
|
||||||
|
|
||||||
The final answer is $1101011001$. The least significant bit is the remainder of the first division operation, and the most significant bit is the remainder of the last operation.
|
The final answer is $1101011001$. The least significant bit is the remainder of the first division operation, and the most significant bit is the remainder of the last operation.
|
||||||
# Definitions
|
# Definitions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user