Liste des Groupes | Revenir à cl c |
Am 08.08.2024 um 19:47 schrieb David Brown:If you are trying to say that for two's complement, "a + b" and "a - b" use the same circuits regardless of whether you are doing signed or unsigned arithmetic, then that is correct. It is one of the reasons why two's complement became the dominant format.
Think about negating a value. For two's complement, that means inverting each bit and then adding 1. For sign-magnitude, youBut with one's complement you have the same circuits for ading
invert the sign bit. For ones' complement, you invert each bit.
and substracting like with unsigned values.
Les messages affichés proviennent d'usenet.