-inline BigUnsigned BigUnsigned::operator <<(int b) const {
- if (b < 0)
- throw "BigUnsigned::operator <<(int): Negative shift amounts are not allowed";
- return *this << (unsigned int)(b);
-}
-inline BigUnsigned BigUnsigned::operator >>(int b) const {
- if (b < 0)
- throw "BigUnsigned::operator >>(int): Negative shift amounts are not allowed";
- return *this >> (unsigned int)(b);
-}