(a) Use the eight-decimal digit floating point representation as given in your Block 1, Unit 1, Section 1.3.1 page 29 to perform the following operations:
(i) Represent 0.000001235432 and 257890000012 as floating point numbers in normalised form using chopping for first number and rounding for second number.
(ii) What is the absolute and relative error in the representation of the two numbers given above?
(iii) Using the floating point representation, perform an addition of the two numbers given above. What is the error in the resulting number?
(iv) Using the floating point representation, multiply the first number and second number. Convert the result into normalized form in the given format.
(v) Take the first number as 0.00000000000003234 and assume any second number to demonstrate the concept of overflow or underflow for the given representation. (You may assume any second number to demonstrate overflow or underflow).
(vi) What is use of bias in binary floating point representation. Explain the concept of bias with the help of an example for binary floating point numbers.
(i) To represent 0.000001235432 using chopping, we keep only the first eight decimal digits, resulting in 0.00000124. For 257890000012, rounding to eight decimal places gives 257890000000.
(ii) The _________ _________ _____ _________ ____ ___ ____ _______ ______ _________ ______ ______.
__________ _______ _______ ________ ______.
_______ __________ _______ __________ _____ __________ _________ _____ _____ __________ __________ ______.
_______ _________ _________ _____ ____ ____ __________ _________ _____ __________.
__________ _____ ____ _____ ___ ______ _________ ________ ________ ________ ________ __________.
__________ ______ ___ ______ _______ _________ ________.
_____ _____ _____ _____ __________ _______ ________ ________ _________ __________ _________ __________.
___ _________ ____ _______ ________ ____ ______ ______ ___.
_____ __________ ________ ____ ________.
_______ _________ _________ ___ _____ ______.
___ ___ ___ ___ __________ _____ _________ ____ _________ ___ _______ _______.
___ _____ ___ _______ _____ ____ ____ _________ _____.
______ _____ ________ ________ ____ __________ ______ __________ _______ _____ ________ ___.
_____ ________ ___ ________ _____ ______ _________.
_______ _____ ___ __________ ______.
_______ ________ ____ _________ ________ _______.
Get Full Answer on WhatsApp