Replaced _rotr with std::rotr

This commit is contained in:
Tom Lally 2022-08-28 10:21:14 +01:00
parent 3b5eb49469
commit 6408cfdd4b
5 changed files with 7 additions and 11 deletions

View file

@ -182,10 +182,6 @@ inline uint64 _rotl64(uint64 x, sint8 r)
return (x << r) | (x >> (64 - r));
}
inline uint64 _rotr64(uint64 x, sint8 r)
{
return (x >> r) | (x << (64 - r));
}
inline uint64 _umul128(uint64 multiplier, uint64 multiplicand, uint64 *highProduct) {
unsigned __int128 x = (unsigned __int128)multiplier * (unsigned __int128)multiplicand;