Question

Calculate 3.41796875 *10-3 by hand, assuming each of the values are stored in the 16-bit half...

Calculate 3.41796875 *10-3 by hand, assuming each of the values are stored in the 16-bit half precision format

Show work and explain

Homework Answers

Answer #1

The decimal number is 3.41796875 *10-3

3.41796875 *10-3 = 0.00341796875

Since number is positive sign = 0

(0.00341796875)10 = (0.00000000111)2.

The binary number is 0.00000000111

It is also written as 1.11 * 2-9

Mantissa = 11

Exponent = 1 (Since 2 power value is -9)

IEEE Exponent = Exponent + Bias

Here Bias is 15 (Since IEEE 16-bit).

IEEE Exponent = -9 + 15 = 6

IEEE Exponent (Binary) = 110

IEEE 754 format 16 - bit half precision format:

sign

IEEE Exponent

Mantissa

0

00110

1100000000

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Calculate 3.41796875 10-3 X (6.34765625 x 10-3 X 1.05625 x 10^2) by hand, assuming each of...
Calculate 3.41796875 10-3 X (6.34765625 x 10-3 X 1.05625 x 10^2) by hand, assuming each of the values are stored in the 16-bit half precision format. Assume 1 guard, 1 round bit, and 1 sticky bit, and round to the nearest even. Show all the steps, and write your answer in both the 16-bit floating point format and in decimal. *** please take note of the order of parentheses. It is: a x ( b x c) NOT (a x...
Calculate the product of -8.0546875 * 10^0 and -1.799311640625 * 10^-1 by hand, assuming A and...
Calculate the product of -8.0546875 * 10^0 and -1.799311640625 * 10^-1 by hand, assuming A and B are in 16-bit half precision format describe in exercise 3. 27. Assume 1 guard ,1round bit, and sticky bit, and round to the nearest even. Show all the steps;
Matlab uses IEEE double precision numbers: 64-bit floating point representation 1 bit : sign 11 bits:...
Matlab uses IEEE double precision numbers: 64-bit floating point representation 1 bit : sign 11 bits: exponent 52 bits: mantissa. Calculate largest number that can be stored accurately Calculate smallest number (x>0) that can be stored accurately Calculate the machine epsilon Show all work step by step and explain calculations Now calculate the largest number and smallest number for a 10 bit floating point (1 bit for the sign, 4 bits exponent and 5 bits mantissa)
1. Assuming unsigned binary representation, convert 10110 (B) to decimal. Show work. 2 . Assuming unsigned...
1. Assuming unsigned binary representation, convert 10110 (B) to decimal. Show work. 2 . Assuming unsigned binary representation, convert 12 (D) to binary. Show work. 4. Assuming 9-bit two’s complement representation and let x be binary representation of 94 (D) a. Find x. Show work. b. Show the effect of the ASL operation on x, and then convert the result back to decimal. c. Show the effect of the ASR operation on x, and then convert the result back to...
2 Convert each of the following octal numbers to 10-bit binary, hexadecimal, and decimal. Show your...
2 Convert each of the following octal numbers to 10-bit binary, hexadecimal, and decimal. Show your work. (a) 368 (b) 7568 3 Convert the following binary values into Decimal, Octal and hexadecimal. Show your work. (a) 111010101011112 (b) 1010111011001102 (c) 1011101010001112 (d) 1111101011102 4 Convert the following hexadecimal numbers to 16-bit binary and decimal numbers. Show your work. (a) FE9816 (b) FCAD16 (c) B00C16 (d) FEDF16 5 Perform the addition on the following unsigned binary numbers. Indicate whether or not...
Matlab uses IEEE double precision numbers: 64-bit floating point representation 1 bit : sign 11 bits:...
Matlab uses IEEE double precision numbers: 64-bit floating point representation 1 bit : sign 11 bits: exponent 52 bits: mantissa. Calculate largest number (less than inf) that can be stored accurately Calculate smallest number (x>0) that can be stored accurately Calculate the machine epsilon Show all work step by step and repeat for 10 bit floating point (bit sign, 4 bits exponent and 5 bits mantissa)
Question 9.1 Half-precision Floating-point Format (50 marks) Do some research and find out how real (floating...
Question 9.1 Half-precision Floating-point Format Do some research and find out how real (floating point) numbers are represented in Binary. (a) (10 =6+4 marks) Devise your own 16-bit representation for floating point numbers. Draw a diagram of your representation and explain what the various bits are used for. Explain in detail: (i) How many bits are allocated to the mantissa and the exponent, respectively? (ii) What defines the range and the precision (or accuracy) of the numbers stored in floating...
6. What decimal number does the bit pattern 0xBF800000 represent if it is: A two's complement...
6. What decimal number does the bit pattern 0xBF800000 represent if it is: A two's complement integer An unsigned integer A floating point number assuming the IEE 754 single precision format PLEASE EXPLAIN AND SHOW WORK
Consider decimal number 1027. This value is stored as a 16-bit two's complement number into addresses...
Consider decimal number 1027. This value is stored as a 16-bit two's complement number into addresses 124 and 125 on a little endian machine which has an addressable cell size of one byte. What values (in hexadecimal) are in each of these addresses: 124:   125:
For each of the following, assume that we are using a 32-bit system with single-precision (32-bit)...
For each of the following, assume that we are using a 32-bit system with single-precision (32-bit) floating point numbers (floats) in IEEE format, double-precision (64-bit) doubles in IEEE format, and 32-bit integers. Which of the following evaluate to true for all argument values? (Circle each that is always true). char c = .. int x = .. short y = .. float f = .. double d = .. c == (char)(float) c y == (short)(int) y f == (float)(double)...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT