Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #20568
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <d@davea.name> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.042 |
| X-Spam-Evidence | '*H*': 0.92; '*S*': 0.00; 'brad': 0.07; 'modulo': 0.09; 'unsigned': 0.09; 'cc:addr:python-list': 0.16; 'wrote:': 0.18; 'example.': 0.18; 'cc:no real name:2**0': 0.21; 'header:In- Reply-To:1': 0.22; 'cc:2**0': 0.26; 'cc:addr:python.org': 0.29; 'pm,': 0.29; 'thanks': 0.32; 'header:User-Agent:1': 0.33; 'received:192': 0.38; 'more': 0.61; 'header:Reply-To:1': 0.70; 'reply-to:no real name:2**0': 0.72; 'skip:9 20': 0.84 |
| Date | Fri, 17 Feb 2012 14:37:52 -0500 |
| From | Dave Angel <d@davea.name> |
| User-Agent | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111109 Thunderbird/3.1.16 |
| MIME-Version | 1.0 |
| To | Brad Tilley <kj4eit@gmail.com> |
| Subject | Re: signed to unsigned |
| References | <436b024b-20f7-462b-a21e-11f44802e578@s7g2000vby.googlegroups.com> <mailman.5923.1329506097.27778.python-list@python.org> <17514709-e8bc-4533-b9db-5cf9b27c4c90@m2g2000vbc.googlegroups.com> |
| In-Reply-To | <17514709-e8bc-4533-b9db-5cf9b27c4c90@m2g2000vbc.googlegroups.com> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Provags-ID | V02:K0:QP1hZS4Q+tg8YWLkZAjvKklAREYr1IHUn3ASzdUmwNg KovNnjk3Vj/z2MHSySUDYmCer+PIw7z6P84CjsNE1XeWuDhIkG 1RkLAZcC5QlVGpBHZTb+IbgrQv6xZHuxLnQkuWt13z3kbLAQI8 ZrmPLxplTudck+nwJwhZBgvF4uAVwR8LtVsbUfEa8Zqal2Va74 cJ9wTQkMCTncVjcMDZDeuC1IJ4yaqw5Xn5iF7rWFDQLMuVawF4 Mlma9sdgA7ZN7lMLHM8uQOFREH/XrT6wEKGoek8di8bXMAVDho BdYhrUWBbe2zqk7WU0my3gRPHfn1mVmCXF8DqNrQTAegx3yR3v Clkz2G+Dzid/3VM/AwE4= |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| Reply-To | d@davea.name |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5924.1329507479.27778.python-list@python.org> (permalink) |
| Lines | 15 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1329507479 news.xs4all.nl 6918 [2001:888:2000:d::a6]:53773 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:20568 |
Show key headers only | View raw
On 02/17/2012 02:22 PM, Brad Tilley wrote: >>>>> 0xffffffff& -327681234 >> 3967286062 > Very nice! Thanks for that example. Unsigned long longs: > > 0xffffffffffffffff& -9151314442815602945 > 9295429630893948671L Or more generally, use modulo -13452324 % 2^64 -- DaveA
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
signed to unsigned Brad Tilley <kj4eit@gmail.com> - 2012-02-17 10:51 -0800
Re: signed to unsigned Chris Rebert <clp2@rebertia.com> - 2012-02-17 11:05 -0800
Re: signed to unsigned Brad Tilley <kj4eit@gmail.com> - 2012-02-17 11:10 -0800
Re: signed to unsigned Peter Otten <__peter__@web.de> - 2012-02-17 20:14 +0100
Re: signed to unsigned Brad Tilley <kj4eit@gmail.com> - 2012-02-17 11:22 -0800
Re: signed to unsigned Dave Angel <d@davea.name> - 2012-02-17 14:37 -0500
csiph-web