Created @
DIKU
.
(Works best in Google Chrome.)
Approximation a
1
2
3
4
-digit real number as an
IEEE-754, single-precision floating-point number.
Wait, what?
Real numbers?
Floating-point numbers?
Where are the
cheat codes?
Learn best by example? Try this
online IEEE-754 converter
.
(Pick another number)
First, convert the (unsigned) integral to binary and
approximate
the fractional part:
So you say it is
=
Now, write out the sign bit,
biased
(+127) exponent in binary:
Correct:
Problem
Solution
Your Answer
Have comments or suggestions? Check us out on
GitHub
.
See also our
other games
.