Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5cd99f1

Browse files
authored
Garner's Algorithm: fix grammar in mixed radix representation para (#1553)
1 parent 907efee commit 5cd99f1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/algebra/garners-algorithm.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ We can represent the number $a$ in the **mixed radix** representation:
1616
$$a = x_1 + x_2 p_1 + x_3 p_1 p_2 + \ldots + x_k p_1 \cdots p_{k-1} \text{ with }x_i \in [0, p_i)$$
1717

1818
A mixed radix representation is a positional numeral system, that's a generalization of the typical number systems, like the binary numeral system or the decimal numeral system.
19-
For instance the decimal numeral system is a positional numeral system with the radix (or base) 10.
20-
Every a number is represented as a string of digits $d_1 d_2 d_3 \dots d_n$ between $0$ and $9$, and
21-
E.g. the string $415$ represents the number $4 \cdot 10^2 + 1 \cdot 10^1 + 5 \cdot 10^0$.
19+
For instance, the decimal numeral system is a positional numeral system with the radix (or base) 10.
20+
Every number is represented as a string of digits $d_1 d_2 d_3 \dots d_n$ between $0$ and $9$. For example, the string $415$ represents the number $4 \cdot 10^2 + 1 \cdot 10^1 + 5 \cdot 10^0$.
2221
In general the string of digits $d_1 d_2 d_3 \dots d_n$ represents the number $d_1 b^{n-1} + d_2 b^{n-2} + \cdots + d_n b^0$ in the positional numeral system with radix $b$.
2322

2423
In a mixed radix system, we don't have one radix any more. The base varies from position to position.

0 commit comments

Comments
 (0)