[Tutor] working with bit arrays

Robert Berman bermanrl at cfl.rr.com
Thu Dec 3 02:38:50 CET 2009


I do think he meant bit 20 to 32 rather than 20 to 40. Unless, of
course, he's dealing with a 64 bit word.

I am delighted with all the help I have received on this topic and I am
gleefully learning anding and oring, but not too much on the EOR side.

Thanks again for all the assistance.


On Wed, 2009-12-02 at 17:17 -0800, Emile van Sebille wrote:

> On 12/2/2009 4:10 PM GilJohnson said...
> <snip>
> > Using an array of 32 bit integers, you have to go to some
> > trouble to slice out, say, bits 20 to 40.
> I think I agree -- if in fact it's not impossible.  Tell me that's a 
> typo or take a moment to explain what I'm misunderstanding...
> Emile
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20091202/051bb16b/attachment-0001.htm>

More information about the Tutor mailing list