Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #45789

Re: 2's Complement in python help.

References <53dc6273-5aed-44e9-8f39-7eb7f4f3a1b1@googlegroups.com>
Date 2013-05-23 20:03 +1000
Subject Re: 2's Complement in python help.
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2004.1369303432.3114.python-list@python.org> (permalink)

Show all headers | View raw


On Thu, May 23, 2013 at 7:54 PM,  <lokeshkoppaka@gmail.com> wrote:
> Can anyone give me an idea of how to find the 2's Complement in python with an example

Do you know what two's complement is? (Not to be confused with two's
compliment, which is when numbers start telling you how clever you
are.) If not, you should probably look it up on Wikipedia or
something. Once you know what the term means, you can start
implementing in Python.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

2's Complement in python help. lokeshkoppaka@gmail.com - 2013-05-23 02:54 -0700
  Re: 2's Complement in python help. Chris Angelico <rosuav@gmail.com> - 2013-05-23 20:03 +1000

csiph-web