I can't understand a little thing in bitwise operations.

In PHP and Javascript
4653896912>>13 = -212992

In Python and Ruby
4653896912>>13 = 568102

In Python and Ruby - it's ok. I understand.
But i need to get in Python same value as in PHP and Javascript.
How can i do this?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to