Compare commits

...

2 Commits

Author SHA1 Message Date
f96f696b31 Typo
All checks were successful
CI / Typos (pull_request) Successful in 11s
CI / Typst formatting (pull_request) Successful in 6s
CI / Build (pull_request) Successful in 9m0s
2025-02-11 18:41:19 -08:00
907da44382 Bonus edits 2025-02-11 18:40:34 -08:00
2 changed files with 20 additions and 4 deletions

View File

@ -8,7 +8,7 @@ In this handout, we'll denote bit strings with the prefix `0b`. \
That is, $1010 =$ "one thousand and one," while $#text([`0b1001`]) = 2^3 + 2^0 = 9$
#v(2mm)
We will seperate long bit strings with underscores for readability. \
We will separate long bit strings with underscores for readability. \
Underscores have no meaning: $#text([`0b1111_0000`]) = #text([`0b11110000`])$.
#problem()

View File

@ -1,6 +1,6 @@
#import "@local/handout:0.1.0": *
= Bonus: More about Floats
= Bonus -- More about Floats
#problem()
Convince yourself that all numbers that can be represented as a float are rational.
@ -8,13 +8,29 @@ Convince yourself that all numbers that can be represented as a float are ration
#problem()
Find a rational number that cannot be represented as a float.
#problem()
How many floats are between $0$ and $1$?
#v(1fr)
#problem()
What is the smallest positive 32-bit float?
#v(1fr)
#problem()
What is the largest positive 32-bit float?
#v(1fr)
#problem()
How many floats are between $-1$ and $1$?
#v(1fr)
#problem()
How many floats are between $1$ and $2$?
#v(1fr)
#problem()
How many floats are between $1$ and $128$?
#v(1fr)