UInt64.RotateRight(UInt64, Int32) Method

Definition

Rotates a value right by a given amount.

public:
 static System::UInt64 RotateRight(System::UInt64 value, int rotateAmount) = System::Numerics::IBinaryInteger<System::UInt64>::RotateRight;
public static ulong RotateRight (ulong value, int rotateAmount);
static member RotateRight : uint64 * int -> uint64
Public Shared Function RotateRight (value As ULong, rotateAmount As Integer) As ULong

Parameters

value
UInt64

The value which is rotated right by rotateAmount.

rotateAmount
Int32

The amount by which value is rotated right.

Returns

The result of rotating value right by rotateAmount.

Implements

Applies to