Store -2.5 as tiny floating point based on 8-bit floating point presentation. show your working
Show bias
Exponent
Fill in bits
Final 1 bye presentation
INTRODUCTION TO COMPUTER SYSTEMS
SHOW YOUR WORKING
Answer:
--------
Show bias Exponent: 8
Final 1 bye presentation: 11000010
Explanation:
-------------
-2.5
Converting 2.5 to binary
Convert decimal part first, then the fractional part
> First convert 2 to binary
Divide 2 successively by 2 until the quotient is 0
> 2/2 = 1, remainder is 0
> 1/2 = 0, remainder is 1
Read remainders from the bottom to top as 10
So, 2 of decimal is 10 in binary
> Now, Convert 0.50000000 to binary
> Multiply 0.50000000 with 2. Since 1.00000000 is >= 1. then add 1 to result
> This is equal to 1, so, stop calculating
0.5 of decimal is .1 in binary
so, 2.5 in binary is 00000010.1
-2.5 in simple binary => 10.1
so, -2.5 in normal binary is 10.1 => 1.01 * 2^1
8-bit format:
--------------------
sign bit is 1(-ve)
exponent bits are (7+1=8) => 1000
Divide 8 successively by 2 until the quotient is 0
> 8/2 = 4, remainder is 0
> 4/2 = 2, remainder is 0
> 2/2 = 1, remainder is 0
> 1/2 = 0, remainder is 1
Read remainders from the bottom to top as 1000
So, 8 of decimal is 1000 in binary
frac/significant bits are 010
so, -2.5 in 8-bit format is 1 1000 010
Store -2.5 as tiny floating point based on 8-bit floating point presentation. show your working Show...
Consider a 9-bit floating-point representation based on the IEEE floating-point format, with one sign bit, four exponent bits (k = 4), and four fraction bits (n = 4). The exponent bias is 24-1-1-7. The table that follows enumerates some of the values for this 9-bit floating-point representation. Fill in the blank table entries using the following directions: e : The value represented by considering the exponent field to be an unsigned integer (as a decimal value) E: The value of...
Show your work. For 8-bit numbers, use 1 sign bit, 3 exponent bits, 4 mantissa bits: 1.)Convert 11.0 to 8-bit floating point format 2.)Convert -12.40625 to 8-bit floating point format For 32-bit numbers, use 1 sign bit, 8 exponent bits, 23 mantissa bits: 3.)Convert 119.59375 to 32-bit floating point format 4.)Convert -67.1015625 to 32-bit floating point format
What's the decimal value of the following 8 bit floating point number? Suppose k=4 exponent bits, n=3 fraction bits, and the bias is 7 00111001
What's the decimal value of the following 8 bit floating point number? Suppose k=4 exponent bits, n=3 fraction bits, and the bias is 7 00111001
Assume a 10-bit floating point representation format where the Exponent Field has 4 bits and the Fraction Field has 6 bits and the sign bit field uses 1 bit S Exponent Field: 4 bits Fraction Fleld: 5 bits a) What is the representation of -8.80158 × 10-2 in this Format - assume bias =2M-1-1=24-1-1=7 (where N= number of exponent field bits) for normalized representation 1 -bias =-6 : for denormalized representationb) What is the range of representation for...
Show how-3.75 is represented in a computer architecture that uses a floating point architecture with 7 bits exponent and 8 bits fraction and 1 bit sign
1. Assume we are using the simple model for floating-point representation as given in this book (the representation uses a 14-bit format, 5 bits for the exponent with a bias of 15, a normalized mantissa of 8 bits, and a single sign bit for the number): a) Show how the computer would represent the numbers 100.0 and 0.25 using this floating-point format. b) Show how the computer would add the two floating-point numbers in part a by changing one of...
I would like a step by step explanation as to how the 7-bit floating point representations from Format A were converted to Format B. Thanks. Consider the following two 7-bit floating point representations based on the IEEE floating point format. Neither has a sign bit - they can only represent non-negative numbers. i). Format A. There are k=3 exponent bits. The exponent bias is 3. There are n=4 fraction bits. ii). Format B. There are k=4 exponent bits. The exponent...
Inspired of the IEEE 754 standard, a floating point format that is only 10 bits wide is defined for a special computer. The leftmost bit is still the sign bit, the exponent is 5 bits wide and has a bias of 15, and the fractions is 4 bits long. A hidden 1 is assumed for the normal number, but not for the denormalized number. c) Construct a case to show that floating point addition is not associative
If we use the IEEE standard floating-point single-precision representation (1 sign bit, 8 bit exponent bits using excess-127 representation, 23 significand bits with implied bit), then which of the following hexadecimal number is equal to the decimal value 3.875? C0780000 40007800 Oo 40780000 40A80010 The binary string 01001001110000 is a floating-point number expressed using a simplified 14-bit floating-point representation format (1 sign bit, 5 exponent bits using excess-15 representation, and 8 significand bits with no implied bit). What is its...