Left circular bit shift:
=======================
void circShiftLeft(unsigned& V) {
unsigned int leftBit = (unsigned)!!(1 << sizeof(V)*8 -1) & V);
V = V << 1;
V = V | leftBit;
}
Saturday, December 17, 2011
Subscribe to:
Posts (Atom)
My experience trying to make money online