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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
/*!
|
||||
|
Reference in New Issue
Block a user