This assignment is due in class on 30 January or may be uploaded in PDF format to Homework 1 on moodle by 12:45 PM on 30 January.
Problem 1
Express the following base 10 numbers in 12-bit fixed-point twos-complement representation with 6 integer bits and 6 fraction bits. Some of the numbers cannot be expressed exactly, so give the nearest fixed-point representaion.
- -25.25
- 8.8
Problem 2
Express the following 12-bit fixed-point twos-complement numbers with 6 integer bits and 6 fraction bits as base 10 decimal numbers.
- 111000111000
- 000011000000
Problem 3
What is the 32-bit IEEE 754 representation for 42.75?
Problem 4
If 0x369C0000
is the 32-bit IEEE 754 representation
of a Java float
, what is the floating point number?