8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 18:43:02 +01:00

Fix for #7603: BIN_SHR on INT128 does not apply sign extension
All checks were successful
continuous-integration/drone/push Build is passing

(cherry picked from commit 3da900bf17)
This commit is contained in:
AlexPeshkoff 2023-06-19 18:46:58 +03:00
parent c915e9d1ec
commit 536176999a

View File

@ -1797,6 +1797,24 @@ public:
}
Int<value_size> operator>>(int move) const
{
Int<value_size> temp( *this );
temp.Rcr(move, UInt<value_size>::IsTheHighestBitSet() ? 1 : 0);
return temp;
}
UInt<value_size> & operator>>=(int move)
{
UInt<value_size>::Rcr(move, UInt<value_size>::IsTheHighestBitSet() ? 1 : 0);
return *this;
}
/*!
*