Skip to content

Commit d0f11fa

Browse files
authored
fix wording in rational representation
1 parent cbb74af commit d0f11fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lec_02_representation.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -281,9 +281,9 @@ We can map the three-element set $\Sigma$ to the three-element set $\{00,11,01 \
281281
Our final representation for rational numbers is obtained by composing the following steps:
282282

283283

284-
1. Representing a non-negative rational number as a pair of natural numbers.
284+
1. Representing a (potentially negative) rational number as a pair of integers $a,b$ such that $r=a/b$.
285285

286-
2. Representing a natural number by a string via the binary representation.
286+
2. Representing an integer by a string via the binary representation.
287287

288288
3. Combining 1 and 2 to obtain a representation of a rational number as a pair of strings.
289289

0 commit comments

Comments
 (0)