a) 1.1001 b) 1.0110 c) 0.1001 d) 0.1010
the answer to this question is C....why the exponent part is not
complimented....
On Feb 9, 11:52 am, shripad sarade <shripad.sar...@gmail.com> wrote:
> @Amol
> can you explain complement of 1.0110
>
> In this case
> n=0
> m=4
> N=0.0110
>
> complement value = 2^0 - (2^(-4)) - 0.375
> = 1 - 0.0625 - 0.375
> = 0.5625
> =0.1001 base 2
>
> if N = 1.0110
> n=1
> m=4
> complement value = 2^1 - (2^(-4))* - 1.375*
> = 2 - 0.0625 - 1.375
> = 0.5625
> =0.1001 base 2
>
> so complement of 0.0110 and 1.0110 is coming same.
> I think i have made mistake taking 1.0110 = 1.375
> whether it should be *-0.375*
> but then ans will be
> = 2 - 0.0625 + 0.375
> = 2.3125
> =010.0.01 base 2
>
> Somewhere I am wrong in calculation.
> Can you explain complement of 1.0110
>
>
>
> On Tue, Feb 9, 2010 at 11:10 AM, amol bhangdiya <amol....@gmail.com> wrote:
> > general method for (r-1) complement for ( base r ) number N is
> > r^n-r^(-m)-N
> > where n number of integer part (which is 0 in above case) and m is
> > number of fractional part(4 in above case)
> > so ans is 0.1001
>