in Digital Logic edited by
896 views
2 votes
2 votes

What is the largest mantissa we can store in floating-point format if the size of the mantissa field is m-bit and exponent field is e-bit? The mantissa is normalized and has an implied $1$ in the left of the point.

Normalized form of mantissa is 1.M

in Digital Logic edited by
896 views

2 Comments

A ?
0
0
Answer is $A$
0
0

1 Answer

4 votes
4 votes
Mantissa = $1.m$

$m=\underbrace{111..111111}_{m\,1^{'s}}=2^{m}-1$

$0.m = (2^m-1)*2^{-m}=1-2^{-m}$

Mantissa = $1.m=1+(1-2^{-m})=(2^{m+1}-1)\times2^{-m}$

So, answer should be $(A)$

Correct me if i'm wrong

4 Comments

Thanks, got it
0
0
edited by
please clear my doubt

in second step

$0.m=(2^m -1 ) *2^{-m} =1-2^{-m}$

$2^{-m}$ comes from ?

if we shift  ' . '  to left of m then it should be $2^{m}$  ...
0
0
because you can write 0.111 as 111 * $2^{-3}$
1
1

Related questions