Explore BrainMass

Explore BrainMass

    Binary Floating Point Addition

    This content was COPIED 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

    Normalize:
    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:
    1.0101
    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 February 24, 2021, 2:13 pm ad1c9bdddf
    https://brainmass.com/computer-science/algorithms/binary-floating-point-addition-7793

    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.

    $2.19

    ADVERTISEMENT