Newbie -- bitwise shifts

Batista, Facundo FBatista at uniFON.com.ar
Wed Feb 4 16:30:13 EST 2004


gerald.britton at allstream.com wrote:

#- 15 is binary 1111
#- if I shift this left 2 bits I get 11

No.

If you shift 1111 left 2 positions, you get 111100.

.	Facundo




More information about the Python-list mailing list