Assignment1-Cse330 Spring2024
Assignment1-Cse330 Spring2024
Assignment 1 [CO4]
1. In the classes, we discussed three forms of floating number representations as shown below,
(1) Standard/General Form, (2) Normalized Form, (3) Denormalized Form.
Now, let’s take, β = 2, m = 3 and −2 ≤ e ≤ 4. Based on these, answer the following:
(a) (3 marks) What are the maximum/largest numbers that can be stored in the system by
these three forms defined above (express your answer in decimal values)?
(b) (3 marks) What are the non-negative minimum/smallest numbers that can be stored in the
system by the three forms defined above (express your answer in decimal values)?
(c) (4 marks) What are the maximum/largest and minimum/smallest numbers that can be
stored in the system by the three forms defined above if the system has negative support?
2
3. Consider the quadratic equation, 2𝑥 − 60x + 3 = 0. Below calculate up to 6 significant
figures.
(a) (4 marks) Find out where the loss of significance occurs when you calculate the roots?
(b) (3 marks) Show that the roots evaluated in the previous part do not satisfy the fundamental
properties of a polynomial.
(c) (3 marks) Evaluate the correct roots such that loss of significance does not occur.