delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/01/31/15:16:05

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: geda-user AT delorie DOT com
From: Rupert Swarbrick <rswarbrick AT gmail DOT com>
Subject: Re: [geda-user] Re: refdes renumber
Date: Fri, 31 Jan 2014 20:07:09 +0000
Lines: 31
Message-ID: <dcctraxft.ln2@skate.rswarbrick>
References: <CACPio-6QgmXwj8LwYoR6zq1hfXHh8ymmnDNhrJd5oEVg6pt0Gg AT mail DOT gmail DOT com>
<CAG4ve9Jm00oyLb7uLgQjSTjfBpXOL9a0tXkjAQx09325ibChPg AT mail DOT gmail DOT com>
<CACPio-7ucw-yxsykwOyV+p=+xUqKbwHLhQv1ODNS9Qd+gf3GPQ AT mail DOT gmail DOT com>
<CAG4ve9KAB6POcUvMhh3KsCt3eRyWus8L+V1WFyupgL-4QckRJA AT mail DOT gmail DOT com>
<CACPio-7yV1a08b99NyjrGtD0b7qdKWxLPQxA0nUr3qAL9yz7pQ AT mail DOT gmail DOT com>
<CAG4ve9KKG_4Z6V0V3HCjAjo6jwD=t5AmwGdVgGqYJbM9q6B_zA AT mail DOT gmail DOT com>
<CACPio-66SHLWYAusnwq0acYBL+QX0uwuuT8zeUotYE90a5pCHQ AT mail DOT gmail DOT com>
<CAG4ve9KeBYS_Gs_5y2o6ZWVREq0tEFtJiEQbX692SbRzTdSxgw AT mail DOT gmail DOT com>
<CAG4ve9+wP0VAnXAFpB+gJQHUphnNTYn71_wBphuMafL09k9YnQ AT mail DOT gmail DOT com>
<koto2c$r5i$1 AT ger DOT gmane DOT org>
<CAG4ve9KJeGATHFoUuosCnOeUNa9TcunM1+C9EJwxAbTQ3yU0dw AT mail DOT gmail DOT com>
<kp224q$20f$1 AT ger DOT gmane DOT org>
<CAG4ve9+RgrKFe7-F13QxMqb4sx3jYqQuaFxwzPnVuayPq9U8fw AT mail DOT gmail DOT com>
<1391182300 DOT 2023 DOT 11 DOT camel AT AMD64X2 DOT fritz DOT box>
<CAG4ve9+JF25kq5xzZ0NyAF2cK2Sq_qBEUK742aj64ZrQmituWg AT mail DOT gmail DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT ger DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: host-92-16-147-221.as13285.net
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
Reply-To: geda-user AT delorie DOT com

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9 =D0=A5=D0=B0=D1=80=D1=8C=D0=BA=
=D0=BE=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 <svetonomer-Re5JQEeQqe8AvxtiuMwx3w AT pub=
lic.gmane.org>
writes:
> This is simple:
> In [20]: ~0
> Out[20]: -1

For other readers who (like me) are being slow today, the ~ operator
performs unary bitwise NOT. Apparently, integers in Python are
explicitly two's complement.

Rupert

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iJwEAQECAAYFAlLsAm0ACgkQRtd/pJbYVoZxBwP+JUXDf5LkmOb8ON7ydsoTScjm
S67GdfeK0YDz6dotD1HzKt83xaHYQT5YoD1Im724aPKefCwhHY6p0epQSQQYlEMo
rYVH3pOlMBLoFykJYE46r3jkkcRolIkxCt4JrC9TleQbq0A0m9OqUhfNg/WD1LA2
mh4wtgbV0oR22z/WMTU=
=aPTk
-----END PGP SIGNATURE-----
--=-=-=--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019