PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] One???s
Date: Wednesday, 07 Oct 2020, 15:09:11


    > Message Posted By: Unknown
    >
    > How can one's complement have an even value for c? Since ones complement
    > is symmetric, does that mean by def it has odd number of distinct
    > representable numbers?

By definition ones' complement uses c = 2^m-1, which
is odd.
=====

    > Also can you rexplain what you mean by one's vs ones' complement.

The complement in ones' complement arises when you flip
all of the bits to negate a number, which is equivalent
to subtracting the number from a number all of whose bits
are 1.  Thus the name is ones', not one's.

--Stan-
PREV INDEX NEXT