mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-09 23:25:43 +00:00
Fix ulong.RotateRight left-shift
This commit is contained in:
parent
d405faf6e2
commit
e6a858c7e7
@ -44,6 +44,6 @@ public static class UInt64Extensions
|
||||
#endif
|
||||
public static ulong RotateRight(this ulong value, int count)
|
||||
{
|
||||
return (value >> count) | (value << (32 - count));
|
||||
return (value >> count) | (value << (64 - count));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user