Anonymous user
Talk:Find first and last set bit of a long integer: Difference between revisions
Talk:Find first and last set bit of a long integer (view source)
Revision as of 02:34, 8 December 2011
, 12 years ago→Clarification
(→Clarification: integers are used in the test case only toconveniently supply binary specimen for testing.) |
|||
Line 11:
C also - correct me if I am wrong - prints the most significant bit/octel/hex digit on the left, and the least on the extreme right, hence the operators << and >>. Also python, and most other programming languages display and (pretend to) store right to left. It's probably a human thing.
: I was referring to the bit numbering, not how they are printed. From what I've seen, the least significant bit is usually numbered "0" and the most significant bit "31". --[[Special:Contributions/208.80.119.67|208.80.119.67]] 02:34, 8 December 2011 (UTC)
'''re:''' And for negative integers
|