Question

1. Write the single-precision Representation for the following decimal number. (-0.625) or -5/8. Final Results must...

1. Write the single-precision Representation for the following decimal number. (-0.625) or -5/8. Final Results must be in HEX. SHOW WORK PLEASE.

2. Given Hexadecimal 0x3F300000, convert it to decimal number if it is a single precision floating point number. SHOW WORK PLEASE.

Homework Answers

Answer #1

Single precision format consists of 32 bits.

1 bit allocates for sign

8 bits for exponent.

23 bits for mantissa.

Sign (1 bits) Exponent (8 bits) Mantissa (23 bits)

The decimal number = (-1)s*(1.M)*2E-127.

Where s is sign, M is mantissa, E is exponent.

1.

Givendecimal number = 0.625.

Convert decimal to binary = 0.101

Write it in single precision format = (1.01)*2-1

E-127 = -1 =====> E= -1+127 = 126.

Sign s= 0.

Exponent E = 126 = 01111110

Mantissa M = 01000000000000000000000.

0 01111110 01000000000000000000000

HEX format = 0x3F200000.

2.

Given Hexadecimal= 0x3F300000.

Convert into single precision format.

0 01111110 01100000000000000000000

Sign =0.

Exponent E=126.

Mantissa M =  01100000000000000000000.

Decimal number of the single precision format

(-1)0*(1.01100000000000000000000)*2126-127

(1.01100000000000000000000)*2-1

0.101100000000000000000000

0.6875

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
Using the IEEE single-precision floating point representation, find the decimal number represented by the following 32-bit...
Using the IEEE single-precision floating point representation, find the decimal number represented by the following 32-bit numbers, each expressed as an 8-digit hex number. Express your answer using decimal scientific notation. (a) (C6500000)16 (b) (31200000)16
Find the internal representation of the following decimal number in the Single Precision Floating Point format...
Find the internal representation of the following decimal number in the Single Precision Floating Point format of the value: -17.6 Non-terminating fractions should be carried out 6 places. You will show the different steps involved in this transformation by filling out the fields below. The value 17 in binary is ___ 2 (no leading or trailing zeroes). The value .6 in binary is ____ 2 (complete to 6 places) Normalized fraction: 1.____ 2 x 2Exponent. Exponent=_____. Biased Exponent in Binary:...
Convert the following binary floating point number 100101.1001010101 using IEEE-756 single precision representation Plz show work,...
Convert the following binary floating point number 100101.1001010101 using IEEE-756 single precision representation Plz show work, thanks!
Convert the following decimal numbers into IEEE single precision format. Give your answer in hexadecimal. Show...
Convert the following decimal numbers into IEEE single precision format. Give your answer in hexadecimal. Show all work A) -15.5625 B) 10.9375
Question 1: A. Convert the following numbers to their decimal representation. Show your work. 1. 100110112...
Question 1: A. Convert the following numbers to their decimal representation. Show your work. 1. 100110112 =
 2. 4567 =
 3. 38A16 = 4. 22145 = B. Convert the following numbers to their binary representation: 1. 6910 =
 2. 48510=
 3. 6D1A16 = C. Convert the following numbers to their hexadecimal representation: 1. 11010112 =
 2. 89510 = Question 2: Solve the following, do all calculation in the given base. Show your work.
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...
Given a 12-bit IEEE floating point format with 5 exponent bits: Give the hexadecimal representation for...
Given a 12-bit IEEE floating point format with 5 exponent bits: Give the hexadecimal representation for the bit-pattern representing −∞−∞. Give the hexadecimal representation for the bit-patterns representing +0 and -1. Give the decimal value for the floating point number represented by the bit-pattern 0xcb0. Give the decimal value for largest finite positive number which can be represented? Give the decimal value for the non-zero negative floating point number having the smallest magnitude. What are the smallest and largest magnitudes...
Given the following pair of decimal numbers: A = 2.6125 x 101 and B = 4.150390625...
Given the following pair of decimal numbers: A = 2.6125 x 101 and B = 4.150390625 x 10-1 a) Compute the binary representation of both A and B using the IEEE-754 single precision floating- point format. b) Compute A+B in binary using the IEEE-754 single precision floating-point format.
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)
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)
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT