Purchase Solution

# IEEE 754 floating point number addition

Not what you're looking for?

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

##### 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 ...

##### C++ Operators

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

##### Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

##### Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.