Removing Bits – Two Methods October 14, 2014 bit hacks, c / c++, code, math, programming languages No Comments For example, if you want to remove a bit or some bits from a integer (signed or unsigned), you can do this. inline int removeBit(int n, int bit) { … [Continue Reading...]