I have this question that I need to complete and I literally have zero idea on what to do. I basically need someone to talk me through it and will appreciate all the help I can get.
The question states:
Consider a "toy system" of floating-point arithmetic such that every number is of the form:
$x=(-1)^s * (1+m) * 2^{e - \delta}$
The mantissa $0 ≤ m < 1$ is a number whose binary representation is of the form:
$m=0 . m_1 m_2 m_3$ (base 2)
Where $m_1$, $m_2$, $m_3$ are either $0$ or $1$. Also, $s$ is either $0$ to $1$. The exponent $e$ is an integer such that $1 ≤ e ≤ 6$ and $\delta = 3$ is the shift.
- What is the largest positive number?
- What is the smallest positive number?
- What is the machine epsilon?
- List all the possible values the mantissa can take.
- How many floating-point numbers are in this set?
Express all the results as decimal numbers (base $10$).
Now I literally have no idea what this is really on about. So guidance and some help would be really wonderful. Thanks for your time.