Explore BrainMass

Binary Floating Point Addition

This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here!

I need this problem in the same format with 23.5 and 12.5 used as the decimals to be used. I need this to validate my own answer.

A full example of Binary Floating Point Addition:

Add decimals 10.5 and 3.5 using binary floating-point addition.
10.5 = 1010.1
3.5 = 11.1

10.5 = 1.0101 x 2^3
3.5 = 1.11 x 2^1

Align Decimal Points:
10.5 = 1.0101 x 2^3
3.5 = 0.0111 x 2^3

Add the significands:
0.0111 +
1.1100 x 2^3

Convert back to decimal to see if the answer is correct:
1.1100 x 2^3 = 1110.0 = 14

© BrainMass Inc. brainmass.com October 24, 2018, 5:21 pm ad1c9bdddf

Solution Preview

See Attachment

Add 23.5 and 12.5 using binary floating point addition

23.5 = ...

Solution Summary

Binary Floating Point Addition is illustrated. An example of floating point addition is given.

See Also This Related BrainMass Solution

IEEE 754 floating point number addition

Explore the operation of the IEEE 754 floating point format, using the following steps:
(i) Explain how 32-bit (single-precision) floating-point values are stored in memory, and the function of
each bit.
(ii) Explain how two floating point numbers are added together, specifying all necessary operations on the
various parts of the operands and the result.
(iii) Illustrate your answer to parts (i) and (ii) with an example - convert the ID number 1250361 to the IEEE 754 format, as well as this number with its seven decimal digits reversed. Add these two quantities and show the
result as 32 bits in IEEE 754 format.
i.e. 1250361.0 + 1630521.0

View Full Posting Details