Represent the values 65 25125 29664 using 6 integer bit and

Represent the values -6.5, -25.125, -296/64 using 6 integer bit and 4 fractional bit 2\'s complement representation.

Solution

The conversion can be thought of writing two\'s complement of negative whole number in 6 bit and simple bit represenation of the fractional part which can be got when you create a numerator with 16 as denominator because fraction is to be represented here in 4 bits i.e. max value can be 2^4 = 16

Two\'s complement of a number can be calculated in following steps:

-6.5

-25.125

-296/64 is -(4+5/8)

 Represent the values -6.5, -25.125, -296/64 using 6 integer bit and 4 fractional bit 2\'s complement representation.SolutionThe conversion can be thought of wr

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site