Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Computer System floating point exercise. Please help, thank you very much! Please just don't put the textbook contents on it, it won't help. Consider a

Computer System floating point exercise.

Please help, thank you very much!

Please just don't put the textbook contents on it, it won't help.

image text in transcribed

Consider a 9-bit floating-point representation based on the IEEE floating-point format, with one sign bit, four exponent bits (k = 4), and four fraction bits (n : 4). The exponent bias is 2 -17 4-1 In this exercise you need to add 2 floating point numbers. We outline the algorithm (for floating point addition) at each step-you need to carefully carry out each step that requires filling out the given blanks You may find this link helpfuhttp://www.cs.umd.edu/class/sum2003/cmsc311/Notes/BinMath/addFloat.html Assuming the given 9-bit IEEE floating-point format, add X-13 and Y = 096875. 1) First covert X and Y to their bit representations. Please specify the bit pattern within double quotation marks and without a space. (E.g.: "011100010") Bit Pattern 2) Using the binary representations convert X and Y to scientific form-ie., express these values as 1.(mantissa_part)* 2 A (exponent) where A represents "raised to". You need to fill out the mantissa_part and the exponent. The mantissa_part should be given as binary (Please specify the bit pattern within double quotation marks and without a space). The exponent part should be entered as a decimal value. Note that 1.(mantissa_part) or 0.(mantissa_part) is referred to as the mantissa.] 2 A Y=1 3) Now rewrite Y such that the exponent of Y is equal to whatever X's exponent is. This could result in Y not being normalized. Think about what this means! Note: The first blank below is multiple choice with options 0 or 1- to indicate if we have 0___or1._for our answer for Y. For second blank (mantissa_part), please specify the bit pattern within double quotation marks and without a space. Finally, note that the third blank (exponent) should be entered as a decimal 4) Add the two mantissas (not just mantissa_part!) of X (from step 2) and adjusted Y (from step 3) together-give the result of just that addition below 2 A (adjusted_exponent of_Y_from_step_3) 5) Convert Z to 9-bit floating point IEEE format. Please specify the bit pattern within double quotation marks and without a space. (E.g.: "011100010"] [IMP NOTE: To store result Z in 9-bit IEEE binary floating point representation- we need to do use rounding. Please use round-to-even mode]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Secrets Of Analytical Leaders Insights From Information Insiders

Authors: Wayne Eckerson

1st Edition

1935504347, 9781935504344

More Books

Students also viewed these Databases questions