bitwise shift?

John Machin sjmachin at lexicon.net
Wed Apr 25 20:12:59 EDT 2007


On 26/04/2007 7:10 AM, Sherm Pendley wrote:

> Shift left is *not* the same as multiplying by k. It is the same as multi-
> plying by 2^k. 

Where I come from, ^ is the exclusive-or operator. Of course YMMV in WV :-)



More information about the Python-list mailing list