Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

HELP WITH FLOATING POINT NUMBERS! 1. Express the following numbers in FP rep (in

ID: 3765971 • Letter: H

Question

HELP WITH FLOATING POINT NUMBERS!

1. Express the following numbers in FP rep (in hex).

a) (33.25)10

b) (10.6)10

c) (255)10

d) (24.1)10

e) (24.1)16

f) (24.1)8

g) (24.1)5

h) (1001.101)2

i) (1001.101)16

2. What value does the 32-bit FP notation of the following hex number represent? Give the result in decimal and show your work.

a) 0x C2800000

b) 0x 42800000

c) 0x 43000000

d) 0x 43100000

e) 0x 42100000

f) 0x C0A00000

g) 0x C0A80000

h) 0x 40A80000

3. What value does the 32-bit FP notation of the following hex number represent? Give the result in the form of 2k and show your work.

a) 0x 00400000

b) 0x 80000002

c) 0x 00000000

d) 0x 80000000

e) 0x 8007FFFF

4. How are the following number represented in FP rep?

a) zero

b) negative infinity

c) smallest positive number in denorm form

d) second smallest positive number norm form

e) largest positive number (that is not infinity)

Explanation / Answer

1.

a) (33.25)10

   

2.

a) 0x C2800000

           

b) 0x 42800000

c) 0x 43000000

d) 0x 43100000

e) 0x 42100000

f) 0x C0A00000

g) 0x C0A80000

h) 0x 40A80000

4.

a) Zero is represented as 0