Twos Complement
|
02-15-2023, 07:58 AM
Post: #2
|
|||
|
|||
RE: Twos Complement
Note that two's complement conventionally needs a particular finite word width: -5 is hex FB only for an 8 bit word. Otherwise, it might be FFFFFFFB, or FFFB, or even B, among many other possibilities. (The same is true for one's complement.)
Possibly the question is how to set the word width for binary or decimal numbers on the Prime... and I don't know the answer to that one. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Twos Complement - akmarul - 02-14-2023, 10:09 PM
RE: Twos Complement - EdS2 - 02-15-2023 07:58 AM
RE: Twos Complement - Joe Horn - 02-15-2023, 08:36 AM
RE: Twos Complement - gehakte_bits - 02-18-2023, 07:24 PM
RE: Twos Complement - phucshuhari - 04-04-2024, 07:39 AM
RE: Twos Complement - BruceH - 04-04-2024, 02:30 PM
|
User(s) browsing this thread: 2 Guest(s)