logo

UTK Notes


Float Point Practice

Question 1

Convert the C++ literal, 22.5625, into hexadecimal, IEEE-754 format:

0x4036900000000000

Question 2

Convert the following IEEE-754 number into its decimal equivalent:

0x4287_8000

67.75

Question 3

Convert the C++ literal, 7.75F, into hexadecimal, IEEE-754 format:

0x40F80000

Question 4

Convert the IEEE-754 number into decimal.

0xc02b_6000_0000_0000

-13.6875