In Programming, do we have a standard as to what 8th bit, 7th bit, first bit or second bit is?
Posted
by Jian Lin
on Stack Overflow
See other posts from Stack Overflow
or by Jian Lin
Published on 2010-03-27T00:35:40Z
Indexed on
2010/03/27
0:53 UTC
Read the original article
Hit count: 295
bitwise
In programming, when we say "the 7th Least Significant Bit", do we have a standard of whether it is bit 7 or bit 6 (if we start from bit 0).
Because if we say "the 2nd Least Significant Bit", it sounds like it is bit 1 (counting from bit 0 again), so if 2nd means bit 1, then 7th means bit 6, not bit 7.
© Stack Overflow or respective owner