What are the best methods to "Clear the 6th bit" of an integer?
Posted
by Jian Lin
on Stack Overflow
See other posts from Stack Overflow
or by Jian Lin
Published on 2010-03-26T23:58:46Z
Indexed on
2010/03/27
0:03 UTC
Read the original article
Hit count: 159
bit-manipulation
|bitwise
What are the best methods to "Clear the 6th bit" of an integer?
And, is your solution platform independent? (32 or 64 bit integer, etc). If not, can you give a solution that is platform independent?
© Stack Overflow or respective owner