added: UInt::operator>>(int)

UInt::operator>>=(int)
       UInt::operator<<(int)
       UInt::operator<<=(int)



git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@250 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2009-11-25 12:57:06 +00:00
parent 2d821bbad9
commit de150d00ec
2 changed files with 37 additions and 0 deletions

View File

@@ -3242,7 +3242,40 @@ public:
}
UInt<value_size> operator>>(int move)
{
UInt<value_size> temp( *this );
temp.Rcr(move);
return temp;
}
UInt<value_size> & operator>>=(int move)
{
Rcr(move);
return *this;
}
UInt<value_size> operator<<(int move)
{
UInt<value_size> temp( *this );
temp.Rcl(move);
return temp;
}
UInt<value_size> & operator<<=(int move)
{
Rcl(move);
return *this;
}
/*!