Skip to content

Commit 2ce1c4e

Browse files
committed
Fix typo in binary conversion -- fixes #1
1 parent 4ebf573 commit 2ce1c4e

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

Slides/D2_BinaryAndFloatingPointNumbers.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<meta name="generator" content="quarto-1.5.43">
1212

1313
<meta name="author" content="Dr.&nbsp;Gilbert">
14-
<meta name="dcterms.date" content="2026-01-08">
14+
<meta name="dcterms.date" content="2026-01-09">
1515
<title>MAT 370: Binary and Floating Point Arithmetic</title>
1616
<meta name="apple-mobile-web-app-capable" content="yes">
1717
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
@@ -337,7 +337,7 @@ <h1 class="title">MAT 370: Binary and Floating Point Arithmetic</h1>
337337
</div>
338338
</div>
339339

340-
<p class="date">January 8, 2026</p>
340+
<p class="date">January 9, 2026</p>
341341
</section>
342342
<section class="slide level2">
343343

@@ -535,7 +535,7 @@ <h2>Binary Representations of Integers</h2>
535535
<p><span class="math display">\[\begin{align*} 84 &amp;= 2\left(42\right) + 0\\
536536
42 &amp;= 2\left(21\right) + 0\\
537537
21 &amp;= 2\left(10\right) + 1\\
538-
10 &amp;= 2\left(5\right) + 1
538+
10 &amp;= 2\left(5\right) + 0
539539
\end{align*}\]</span></p>
540540
</div><div class="column" style="width:60%;">
541541

@@ -566,7 +566,7 @@ <h2>Binary Representations of Integers</h2>
566566
<p><span class="math display">\[\begin{align*} 84 &amp;= 2\left(42\right) + 0\\
567567
42 &amp;= 2\left(21\right) + 0\\
568568
21 &amp;= 2\left(10\right) + 1\\
569-
10 &amp;= 2\left(5\right) + 1\\
569+
10 &amp;= 2\left(5\right) + 0\\
570570
5 &amp;= 2\left(2\right) + 1
571571
\end{align*}\]</span></p>
572572
</div><div class="column" style="width:60%;">
@@ -598,7 +598,7 @@ <h2>Binary Representations of Integers</h2>
598598
<p><span class="math display">\[\begin{align*} 84 &amp;= 2\left(42\right) + 0\\
599599
42 &amp;= 2\left(21\right) + 0\\
600600
21 &amp;= 2\left(10\right) + 1\\
601-
10 &amp;= 2\left(5\right) + 1\\
601+
10 &amp;= 2\left(5\right) + 0\\
602602
5 &amp;= 2\left(2\right) + 1\\
603603
2 &amp;= 2\left(1\right) + 0
604604
\end{align*}\]</span></p>
@@ -631,20 +631,20 @@ <h2>Binary Representations of Integers</h2>
631631
<p><span class="math display">\[\begin{align*} 84 &amp;= 2\left(42\right) + 0\\
632632
42 &amp;= 2\left(21\right) + 0\\
633633
21 &amp;= 2\left(10\right) + 1\\
634-
10 &amp;= 2\left(5\right) + 1\\
634+
10 &amp;= 2\left(5\right) + 0\\
635635
5 &amp;= 2\left(2\right) + 1\\
636636
2 &amp;= 2\left(1\right) + 0\\
637637
1 &amp;= 2\left(0\right) + 1
638638
\end{align*}\]</span></p>
639639
</div><div class="column" style="width:60%;">
640640
<div class="fragment">
641-
<p>Reading the remainders from bottom to top, we find that <span class="math inline">\(\left(84\right)_{10} = \left(1011100\right)_{2}\)</span>.</p>
641+
<p>Reading the remainders from bottom to top, we find that <span class="math inline">\(\left(84\right)_{10} = \left(1010100\right)_{2}\)</span>.</p>
642642
</div>
643643
<div class="fragment">
644644
<p>Each <em>bi</em>nary dig<em>it</em> is referred to as a <em>bit</em>, and it is common to consider collections of <span class="math inline">\(8\)</span> bits together – known as a <em>byte</em>.</p>
645645
</div>
646646
<div class="fragment">
647-
<p>That is, we would more commonly write <span class="math inline">\(\left(01011100\right)_{2}\)</span> as the binary representation of <span class="math inline">\(84\)</span>.</p>
647+
<p>That is, we would more commonly write <span class="math inline">\(\left(01010100\right)_{2}\)</span> as the binary representation of <span class="math inline">\(84\)</span>.</p>
648648
</div>
649649
</div>
650650
</div>

Slides/D2_BinaryAndFloatingPointNumbers.qmd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ Below we show how we can use the *Euclidean Algorithm* to convert an integer ($8
259259
\begin{align*} 84 &= 2\left(42\right) + 0\\
260260
42 &= 2\left(21\right) + 0\\
261261
21 &= 2\left(10\right) + 1\\
262-
10 &= 2\left(5\right) + 1
262+
10 &= 2\left(5\right) + 0
263263
\end{align*}
264264

265265
:::
@@ -300,7 +300,7 @@ Below we show how we can use the *Euclidean Algorithm* to convert an integer ($8
300300
\begin{align*} 84 &= 2\left(42\right) + 0\\
301301
42 &= 2\left(21\right) + 0\\
302302
21 &= 2\left(10\right) + 1\\
303-
10 &= 2\left(5\right) + 1\\
303+
10 &= 2\left(5\right) + 0\\
304304
5 &= 2\left(2\right) + 1
305305
\end{align*}
306306

@@ -342,7 +342,7 @@ Below we show how we can use the *Euclidean Algorithm* to convert an integer ($8
342342
\begin{align*} 84 &= 2\left(42\right) + 0\\
343343
42 &= 2\left(21\right) + 0\\
344344
21 &= 2\left(10\right) + 1\\
345-
10 &= 2\left(5\right) + 1\\
345+
10 &= 2\left(5\right) + 0\\
346346
5 &= 2\left(2\right) + 1\\
347347
2 &= 2\left(1\right) + 0
348348
\end{align*}
@@ -385,7 +385,7 @@ Below we show how we can use the *Euclidean Algorithm* to convert an integer ($8
385385
\begin{align*} 84 &= 2\left(42\right) + 0\\
386386
42 &= 2\left(21\right) + 0\\
387387
21 &= 2\left(10\right) + 1\\
388-
10 &= 2\left(5\right) + 1\\
388+
10 &= 2\left(5\right) + 0\\
389389
5 &= 2\left(2\right) + 1\\
390390
2 &= 2\left(1\right) + 0\\
391391
1 &= 2\left(0\right) + 1
@@ -397,7 +397,7 @@ Below we show how we can use the *Euclidean Algorithm* to convert an integer ($8
397397

398398
:::{.fragment}
399399

400-
Reading the remainders from bottom to top, we find that $\left(84\right)_{10} = \left(1011100\right)_{2}$.
400+
Reading the remainders from bottom to top, we find that $\left(84\right)_{10} = \left(1010100\right)_{2}$.
401401

402402
:::
403403

@@ -409,7 +409,7 @@ Each *bi*nary dig*it* is referred to as a *bit*, and it is common to consider co
409409

410410
:::{.fragment}
411411

412-
That is, we would more commonly write $\left(01011100\right)_{2}$ as the binary representation of $84$.
412+
That is, we would more commonly write $\left(01010100\right)_{2}$ as the binary representation of $84$.
413413

414414
:::
415415

0 commit comments

Comments
 (0)