Question: 24 [D] In Problem 9.21 (a), conversion of the simple decimal numbers into binary floatingpoint format is straightforward. However, if the decimal numbers are given
24 [D] In Problem 9.21 (a), conversion of the simple decimal numbers into binary floatingpoint format is straightforward. However, if the decimal numbers are given in floating-point format, conversion is not straightforward because we cannot separately convert the mantissa and the exponent of the scale factor because 10x=2y does not, in general, allow both x and y to be integers. Suppose a table of binary, floating-point numbers ti, such that ti=10x for xi in the representable range, is stored in a computer. Give a procedure in general terms for CHAPTER 9 . ARITHMETIC converting a given decimal floating-point number into binary floating-point format. You may use both the integer and floating-point instructions available in the computer
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
