0% found this document useful (0 votes)
9 views2 pages

8-Bit Floating-Point Notation Guide

The document outlines the process of encoding the negative decimal fraction -9/2 into 8-bit floating-point notation, resulting in the representation 11011010. It also describes the smallest negative value, represented as 10000000, and the largest positive value, represented as 01111111, using the same notation. The steps include converting to binary, normalizing, and determining the sign bit, exponent, and mantissa.

Uploaded by

Mujtaba Umer
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views2 pages

8-Bit Floating-Point Notation Guide

The document outlines the process of encoding the negative decimal fraction -9/2 into 8-bit floating-point notation, resulting in the representation 11011010. It also describes the smallest negative value, represented as 10000000, and the largest positive value, represented as 01111111, using the same notation. The steps include converting to binary, normalizing, and determining the sign bit, exponent, and mantissa.

Uploaded by

Mujtaba Umer
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Assignment No.

01
To solve this problem, let's follow the conventions discussed in the
video lessons for the 8-bit floating-point notation.
A. Encode the (negative) decimal fraction -9/2 to binary using the 8-bit
floating-point notation:
Step 1: Convert the absolute value of -9/2 to binary: 9/2 = 4.5 The
binary representation of 4 is 100. The binary representation of 0.5 is
0.1.
Step 2: Normalize the binary representation: Shifting the binary point to
the left until there is only one 1 to the left of the radix point: 4.5 =
0.1001 × 2^3
Step 3: Determine the sign bit: Since the number is negative, the sign
bit will be 1.
Step 4: Determine the exponent: The exponent is the number of
positions we shifted the radix point during normalization. In this case, it
is 3. To represent the exponent in excess-3 notation (3-bit), we need to
add 3 (bias) to the exponent value. Exponent = 3 + 3 = 6 The excess-3
notation for 6 is 110.
Step 5: Determine the mantissa: The mantissa is the binary
representation without the leading 1 after normalization. The mantissa
is 0010.
Putting it all together: Sign bit: 1 Exponent: 110 Mantissa: 0010
The encoded 8-bit floating-point representation of -9/2 is: 11011010.
B. Determine the smallest (lowest) negative value which can be
incorporated/represented using the 8-bit floating-point notation:
The sign bit is 1, indicating a negative number. The exponent is all zeros
(000), representing the smallest exponent value. The mantissa is all
zeros (0000), representing the smallest mantissa value.
Putting it all together: Sign bit: 1 Exponent: 000 Mantissa: 0000
The encoded 8-bit floating-point representation of the smallest negative
value is: 10000000.
C. Determine the largest (highest) positive value which can be
incorporated/represented using the 8-bit floating-point notation:
The sign bit is 0, indicating a positive number. The exponent is all ones
(111), representing the largest exponent value. The mantissa is all ones
(1111), representing the largest mantissa value.
Putting it all together: Sign bit: 0 Exponent: 111 Mantissa: 1111
The encoded 8-bit floating-point representation of the largest positive
value is: 01111111.

You might also like