Python Forum
How to get the 2'complement of a number( type int8)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get the 2'complement of a number( type int8)
#2
In assembly language, you have to be concerned with two's complement, but not really otherwise.
I haven't even thought about 2's compliment since the late 70's.
But, since you're interested have you read: https://wiki.python.org/moin/BitwiseOperators?
Reply


Messages In This Thread
RE: How to get the 2'complement of a number( type int8) - by Larz60+ - Mar-05-2018, 03:26 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020