BitExtensionsBitRotR Method
Performs rightwise bit-rotation for the specified number of rotations.
Namespace: Gemstone.Numeric.Int24ExtensionsAssembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.136 -- Release Build+7cc579d922647b07681a489b376f23063582383a
public static Int24 BitRotR(
this Int24 value,
int rotations
)
<ExtensionAttribute>
Public Shared Function BitRotR (
value As Int24,
rotations As Integer
) As Int24
public:
[ExtensionAttribute]
static Int24 BitRotR(
Int24 value,
int rotations
)
Gemstone.Numeric.Int24Extensions.BitExtensions.BitRotR = function(value, rotations);
- value Int24
- Value used for bit-rotation.
- rotations Int32
- Number of rotations to perform.
Int24Value that has its bits rotated to the right the specified number of times.In Visual Basic and C#, you can call this method as an instance method on any object of type
Int24. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Actual rotation direction is from a big-endian perspective - this is an artifact of the native
.NET bit shift operators. As a result bits may actually appear to rotate left on little-endian
architectures.