37 lines
561 B
Typst
37 lines
561 B
Typst
|
#import "@local/handout:0.1.0": *
|
||
|
|
||
|
= Bonus -- More about Floats
|
||
|
|
||
|
#problem()
|
||
|
Convince yourself that all numbers that can be represented as a float are rational.
|
||
|
|
||
|
#problem()
|
||
|
Find a rational number that cannot be represented as a float.
|
||
|
|
||
|
#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)
|