Bonus edits

This commit is contained in:
Mark 2025-02-11 18:40:34 -08:00
parent 9cab5912b5
commit 907da44382

View File

@ -1,6 +1,6 @@
#import "@local/handout:0.1.0": * #import "@local/handout:0.1.0": *
= Bonus: More about Floats = Bonus -- More about Floats
#problem() #problem()
Convince yourself that all numbers that can be represented as a float are rational. 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() #problem()
Find a rational number that cannot be represented as a float. Find a rational number that cannot be represented as a float.
#problem() #v(1fr)
How many floats are between $0$ and $1$?
#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() #problem()
How many floats are between $1$ and $2$? How many floats are between $1$ and $2$?
#v(1fr)
#problem() #problem()
How many floats are between $1$ and $128$? How many floats are between $1$ and $128$?
#v(1fr)