Question

Given the following pair of decimal numbers: A = 2.6125 x 101 and B = 4.150390625...

Given the following pair of decimal numbers:
A = 2.6125 x 101 and B = 4.150390625 x 10-1

  1. a) Compute the binary representation of both A and B using the IEEE-754 single precision floating- point format.

  2. b) Compute A+B in binary using the IEEE-754 single precision floating-point format.

Homework Answers

Answer #1

A = 2.6125 x 10^1 = 26.125

B = 4.150390625 x 10^-1 = 0.4150390625

a) Compute the binary representation of both A and B using the IEEE-754 single precision floating- point format.

A = 26.125 = 11010.001

=> 1.1010001 x 2^4

biased exponent - 127+4 = 131 = 10000011

Normalised mantisa = 1010001

The IEEE 754 Single precision

0 01010001 10000011000000000000000

B = 0.4150390625 = 0.0110101001

=> 1.10101001 x 2^-2

biased exponent - 127-2 = 125 = 1111101

Normalised mantisa = 10101001

The IEEE 754 Single precision

0 10101001 11111010000000000000000

b) Compute A+B in binary using the IEEE-754 single precision floating-point format.

A+B = 26.5400390625 = 11010.1000101001

=> 1.10101000101001 x 2^4

biased exponent - 127+4 = 131 = 10000011

Normalised mantisa = 1010001

The IEEE 754 Single precision

0 10101000 10000011000000000000000

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Determine the decimal representation for 87.32 using the IEEE 754 single-precision format. (5 marks)
Determine the decimal representation for 87.32 using the IEEE 754 single-precision format.
Represent the following decimal numbers using IEEE-754 floating point representation. please show all work i. -0.75...
Represent the following decimal numbers using IEEE-754 floating point representation. please show all work i. -0.75 ii. 0 iii. - infinity iv. 23 v. 10.25
Using the IEEE single-precision floating point representation, find the decimal number represented by the following 32-bit...
Using the IEEE single-precision floating point representation, find the decimal number represented by the following 32-bit numbers, each expressed as an 8-digit hex number. Express your answer using decimal scientific notation. (a) (C6500000)16 (b) (31200000)16
Convert the following binary floating point number 100101.1001010101 using IEEE-756 single precision representation Plz show work,...
Convert the following binary floating point number 100101.1001010101 using IEEE-756 single precision representation Plz show work, thanks!
1. (10 pts) Apply Booth's Algorithm to multiply the following 6-bit unsigned numbers, showing the contents...
1. (10 pts) Apply Booth's Algorithm to multiply the following 6-bit unsigned numbers, showing the contents of the A, Q, M registers and the C bit, through the 6 steps: 100110 and 111001 (i.e., decimal 38 and 57) 2 Assuming single-precision (i.e., 32-bits) IEEE 754 standard, unpack the following 32- bit string into decimal floating-point form: 11001110100001000110010000110100
Find the internal representation of the following decimal number in the Single Precision Floating Point format...
Find the internal representation of the following decimal number in the Single Precision Floating Point format of the value: -17.6 Non-terminating fractions should be carried out 6 places. You will show the different steps involved in this transformation by filling out the fields below. The value 17 in binary is ___ 2 (no leading or trailing zeroes). The value .6 in binary is ____ 2 (complete to 6 places) Normalized fraction: 1.____ 2 x 2Exponent. Exponent=_____. Biased Exponent in Binary:...
Convert the following decimal numbers into IEEE single precision format. Give your answer in hexadecimal. Show...
Convert the following decimal numbers into IEEE single precision format. Give your answer in hexadecimal. Show all work A) -15.5625 B) 10.9375
2 Convert each of the following octal numbers to 10-bit binary, hexadecimal, and decimal. Show your...
2 Convert each of the following octal numbers to 10-bit binary, hexadecimal, and decimal. Show your work. (a) 368 (b) 7568 3 Convert the following binary values into Decimal, Octal and hexadecimal. Show your work. (a) 111010101011112 (b) 1010111011001102 (c) 1011101010001112 (d) 1111101011102 4 Convert the following hexadecimal numbers to 16-bit binary and decimal numbers. Show your work. (a) FE9816 (b) FCAD16 (c) B00C16 (d) FEDF16 5 Perform the addition on the following unsigned binary numbers. Indicate whether or not...
1. Write the single-precision Representation for the following decimal number. (-0.625) or -5/8. Final Results must...
1. Write the single-precision Representation for the following decimal number. (-0.625) or -5/8. Final Results must be in HEX. SHOW WORK PLEASE. 2. Given Hexadecimal 0x3F300000, convert it to decimal number if it is a single precision floating point number. SHOW WORK PLEASE.
What is the 16-bit binary representation (in hexadecimal using lower-case letters, e.g., 0x39ab) of -13 1/4...
What is the 16-bit binary representation (in hexadecimal using lower-case letters, e.g., 0x39ab) of -13 1/4 (base 10) when represented as an IEEE 16-bit floating-point number? The IEEE 16-bit floating-point representation uses formulae consistent with those for the 32bit single-precision representation, except for using 5 bits for the exponent (instead of 8 in the case of the 32-bit representation) and a bias of 15.