BigInteger bR = (BigInteger)r;
BigInteger ls = bL.shiftLeft (bR.intValue ());
if (type ().indexOf ("short") >= 0)
ls = ls.mod (twoPow16);
else if (type ().indexOf ("long") >= 0)
ls = ls.mod (twoPow32);
else if (type ().indexOf ("long long") >= 0)
ls = ls.mod (twoPow64);