Purchase Solution

IEEE 754 floating point number addition

Not what you're looking for?

Ask Custom Question

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

Purchase this Solution

Solution Summary

IEEE 754 floating point number addition is emphasized.

Solution Preview

32-bit single precision IEEE 754 floating point numbers are represented in 3 parts:
<br>
<br>1.) Sign bit: It is just 1-bit in length. If its value is 1, the number is negative. If its zero, the number is positive. It is the 31st bit if we number the bits from 0 to 31, right to left.
<br>
<br>2.) Exponent byte: The bits 23-30 represent exponent field. It is 8 bits wide and the radix is 2, implicitly. The value 127 is added to the true exponent before storing the final exponent.
<br>
<br>3.) Fractional field or mantissa: The rest 23 bits from 0-22 represent the fractional part. The leading '1' in normalized ...

Purchase this Solution


Free BrainMass Quizzes
C# variables and classes

This quiz contains questions about C# classes and variables.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Javscript Basics

Quiz on basics of javascript programming language.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.