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


Groups > comp.lang.python > #45787 > unrolled thread

2's Complement in python help.

Started bylokeshkoppaka@gmail.com
First post2013-05-23 02:54 -0700
Last post2013-05-23 20:03 +1000
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  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

#45787 — 2's Complement in python help.

Fromlokeshkoppaka@gmail.com
Date2013-05-23 02:54 -0700
Subject2's Complement in python help.
Message-ID<53dc6273-5aed-44e9-8f39-7eb7f4f3a1b1@googlegroups.com>
Can anyone give me an idea of how to find the 2's Complement in python with an example

[toc] | [next] | [standalone]


#45789

FromChris Angelico <rosuav@gmail.com>
Date2013-05-23 20:03 +1000
Message-ID<mailman.2004.1369303432.3114.python-list@python.org>
In reply to#45787
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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web