Re: [BangPypers] BangPypers Digest, Vol 51, Issue 30

2011-11-19 Thread Varun Narang
here's a good place to look at the BIG picture: http://www.makeuseof.com/tag/programming-language-learn-web-programming/ -- Best, Varun Narang. 2 is not equal to 3, not even for large values of 2. - Grabel's Law ___ BangPypers ma

[BangPypers] Need help understanding -9 >> 1

2012-06-29 Thread Varun Narang
Hi all, I need some help understanding the right shift operation on -9. To my understanding, it's represented as -0b1001, Now, if I shift it one place to right, it should give me -0b0100, which is decimal equivalent of 4. but running this on python console gives me -5. Please help me out here. T

Re: [BangPypers] BangPypers Digest, Vol 58, Issue 27

2012-06-30 Thread Varun Narang
Thanks Navin and Anand, Can you please refer me to a link where I can find more details around the representation of numbers, please. Thanks again for big help. -- Best, Varun Narang. 2 is not equal to 3, not even for large values of 2. - Grabel's Law On Sat, Jun 30, 2012 at 3: