0

So I know that in binary:

42: 00101000

0.25: 01

I then put combine the numbers so it would be: 00101000.01

Once I get this point I'm not sure how to show the mantissa as an 8-bit and the exponent as a 4 bit?

Thank you

EDIT: I think I've worked it out, would the final answer be 0.01010000111?

  • I don't believe that when numbers are stored in binary there are decimal points. Rather, a certain set of numbers is reserved for the mantissa, a certain set for the exponent, a certain part for the fraction and the rest for the number itself. – John Doe May 27 '15 at 21:02
  • This may help you. – wltrup May 27 '15 at 21:38

1 Answers1

0

The mantissa is: 169 = 10101001, the exponent is:-2= 1110 Hope this helps.

Moti
  • 1,928